v486.1 — Provider telematics contract-version build fix

Decision

This is a build-only correction package for v486. It fixes the reported TypeScript contract-version error in the Fleet Map provider-backed reconciliation layer.

What changed

• Fixed the reported TypeScript error in `src/modules/fleet-map/fleet-map.service.ts`.

• Replaced the raw environment-string provider contract value with a narrow typed contract-version reader.

• Only valid provider contract versions are accepted: `v484`, `v485`, and `v486`.

• Invalid or missing environment values safely fall back to `v486`.

• Preserved the v486 provider-backed reconciliation behavior and all provider/Google/billing/accounting guardrails.

• No Prisma schema change.

What remains locked

• Provider evidence cannot move marker coordinates.

• Provider evidence cannot turn markers green.

• Provider evidence cannot silently override driver-app GPS.

• Production GPS/ELD/telematics provider APIs remain disabled.

• Google Geocoding and Google Routes API calls remain disabled.

• Payment collection, broker distribution, owned portal rules, internal load-board access, and Transportation Accounting remain unchanged.

What's visible

In Workspace Operations / Fleet Map

No new user-facing workflow is added. The existing v486 provider-backed reconciliation review surface remains visible.

In Super Admin

No Super Admin behavior changed.

In Workspace Admin

No billing, subscription, plan, entitlement, integration, or settings behavior changed.

---

v486 — Provider-backed live marker reconciliation

v486 — Provider-backed live marker reconciliation

Decision

Proceed with provider-backed live marker reconciliation after v485 first GPS/ELD provider sandbox integration.

This build keeps provider evidence sandbox/review-only and adds a clearer reconciliation layer for driver-app GPS versus provider GPS/ELD/telematics evidence.

What changed

• Added provider-backed marker reconciliation status to every Fleet Map position.

• Added labels for driver-app primary, provider secondary review, provider conflict review, stale provider blocked, failed provider blocked, and no provider signal.

• Added trusted marker source, provider trust, conflict, supervisor review, green-marker authority, and customer-update-hold guidance.

• Added a provider-backed reconciliation dashboard panel.

• Added summary counts for provider-backed conflict review, driver-app primary, provider secondary review, and blocked provider evidence.

• Added provider reconciliation policy copy and search/filter coverage.

• Updated provider contract version guidance to v486.

• Updated environment example flags for provider-backed reconciliation.

• Kept production GPS/ELD/telematics APIs disabled.

• Kept Google Geocoding and Google Routes API calls disabled.

• No Prisma schema change.

What remains locked

• Provider evidence cannot move marker coordinates.

• Provider evidence cannot turn markers green.

• Provider evidence cannot silently override driver-app GPS.

• Production provider credentials and live provider polling remain disabled.

• Google server APIs remain disabled.

• Billing, broker distribution, owned portal, internal load-board, and Transportation Accounting behavior remain unchanged.

What’s visible

In Workspace Operations / Fleet Map

Users will see a new provider-backed reconciliation review layer that explains which source is trusted and whether provider evidence needs supervisor review.

In Super Admin

No Super Admin behavior changed.

In Workspace Admin

No billing, subscription, plan, entitlement, integration, or settings behavior changed.

v485 Fleet Map First GPS/ELD Provider Sandbox Integration

• Reviewed v484 Provider-neutral ELD/telematics connector contract.

• Proceeded with the first GPS/ELD provider sandbox integration path after the neutral provider contract.

• Added a guarded `PULL_SANDBOX_PROVIDER_SIGNAL` action to the existing `/api/fleet-map/provider-telematics-sandbox-signals` endpoint.

• Added provider sandbox integration status, labels, pull readiness, pull result copy, sandbox payload contract, pull checklist, and pull guardrails to each Fleet Map position.

• Added provider sandbox pull-ready, pull-recorded, and pull-review summary counts.

• Expanded the selected-truck provider panel and provider dashboard so users can see the v485 first-provider sandbox/test-mode state.

• Updated `.env.example` with sandbox integration and sandbox pull switches while keeping live provider APIs and provider marker mutation disabled.

• Preserved the strict marker hierarchy: fresh driver-app GPS remains the only green-marker authority; provider sandbox evidence cannot move marker coordinates, override driver-app GPS, or call Google APIs.

• No Prisma schema change was introduced.

---

v483 Controlled Driver-App Live GPS Activation

• Reviewed v482.1 live GPS session audit, consent, and privacy readiness alignment.

• Enabled controlled driver-app real GPS intake, live GPS activation phase, and live coordinate mutation for the driver-app session path.

• Preserved `/api/fleet-map/driver-app-live-gps-sessions` as the audited live GPS session endpoint.

• Fresh eligible driver-app GPS session coordinates may now control the green marker.

• Stale, stopped, or manually stale driver-app GPS loses green trust and falls back to blue/non-live review.

• Kept consent, privacy, active-dispatch-only, stop/revoke, live-marker, and session-note acknowledgements required before live GPS recording.

• Kept production GPS/ELD/telematics provider APIs, Google Geocoding API calls, Google Routes API calls, payment collection, broker distribution limits, owned portal rules, internal load-board access, and Transportation Accounting inactive.

• No Prisma schema change was introduced.

---

v482.1 Fleet Map Live GPS Session Audit, Consent, and Privacy Readiness Alignment

• Restored the original Fleet Map sequencing after v482 introduced review-only alerts/performance/production-readiness panels earlier than planned.

• Added stronger driver live-tracking consent, privacy boundary, active-dispatch-only, and always-on tracking prevention readouts.

• Added start/stop/stale/revoke readiness copy for future driver-app live GPS sessions before controlled activation.

• Added a separate activation-phase guard: `DISPATCH_SPOT_FLEET_MAP_DRIVER_APP_LIVE_GPS_ACTIVATION_PHASE_ENABLED` defaults to `false`.

• Changed effective driver-app live GPS coordinate mutation so old environment flags cannot activate green-marker coordinate intake unless the new activation-phase guard is explicitly enabled.

• Preserved the existing v482 review-only Fleet alerts, Map performance, and Production readiness UI, but kept production GPS/ELD/telematics provider APIs and Google Geocoding/Routes API calls disabled.

• No Prisma schema change was introduced.

---

v480.1 Fleet Map Provider Sandbox Route-Overlay Point Type Build Fix

• Fixed the v480 production build failure in `src/modules/fleet-map/fleet-map.service.ts`.

• Added explicit `FleetRoutePoint` typing to route-overlay path map callbacks used by live GPS overlay, controlled blue/non-live execution overlay, and rollback overlay.

• Build-only fix: no UI behavior, API behavior, marker source hierarchy, provider sandbox behavior, Google API usage, payment collection, broker distribution, owned portal, internal load-board, Transportation Accounting, or Prisma schema change.

---

v480 Fleet Map Provider-Neutral GPS/ELD/Telematics Foundation and First Sandbox Connector

• Reviewed v479 Fleet Map controlled driver-app live GPS activation.

• Proceeded with provider-neutral GPS/ELD/telematics foundation and first sandbox connector before activating production provider APIs, Google Geocoding/Routes API calls, payment collection changes, broker distribution limits, owned portal rules, internal load-board access, or Transportation Accounting.

• Added `/api/fleet-map/provider-telematics-sandbox-signals` for DomainEvent-backed sandbox provider evidence.

• Added provider sandbox mapping, sandbox signal recording, stale provider marking, and failed provider marking.

• Added provider telematics review data, conflict detection against driver-app GPS, provider dashboard, selected-truck recorder, audit trail, Provider sandbox filter, summary counts, truck-list chips, map labels, search coverage, policy copy, and CORI supervisor guidance.

• Preserved the strict marker hierarchy: green remains fresh driver-app GPS only; provider sandbox evidence cannot move marker coordinates or override driver-app GPS.

• No Prisma schema change was introduced.

---

v478.2 Fleet Map Driver-App GPS Readiness Eligibility Status Build Fix

• Fixed the v478.1 production build failure in `src/modules/fleet-map/fleet-map.service.ts`.

• Removed the impossible computed-status comparison where driver-app GPS readiness `eligibilityStatus` was compared to `CONTRACT_READY` even though that computed branch can only produce live, eligible, consent-required, not-eligible, or blocked states.

• Preserved the existing display behavior by mapping `CONSENT_REQUIRED` to the `CONTRACT_READY` intake display state.

• Build-only fix: no UI behavior, API behavior, marker behavior, GPS intake, provider connection, Google server API usage, payment collection, broker distribution, owned portal, internal load-board, Transportation Accounting, or Prisma schema change.

---

v476 Fleet Map Controlled Blue/Non-Live Marker Refresh Execution and Rollback

• Reviewed v475 Fleet Map complete non-live refresh safety package.

• Proceeded with controlled blue/non-live marker refresh execution and rollback before connecting real GPS/ELD providers, activating Google Geocoding/Routes API calls, changing payment collection, broker distribution limits, owned portal rules, internal load-board access, or Transportation Accounting.

• Added /api/fleet-map/marker-refresh-executions for DomainEvent-backed execution, rollback, and dispute audit records.

• Added controlled execution state to each Fleet Map position, including ready/executed/rollback-ready/rolled-back/disputed/live-GPS-protected labels, source evidence IDs, before/proposed/rollback labels, checklists, guardrails, and next-step guidance.

• Added controlled blue/non-live coordinate overlay behavior from execution audit records, plus rollback overlay behavior to restore the pre-execution marker coordinates.

• Added Execute refresh and Rollback/dispute filters, summary counts, selected-truck execution controls, controlled execution audit trail, hover/info-window labels, search coverage, and CORI supervisor guidance.

• Preserved the strict marker rule: green remains live driver-app GPS only; controlled execution never turns dispatcher-confirmed evidence green.

• No Prisma schema change was introduced.

v475 Fleet Map Complete Non-Live Refresh Safety Package

• Reviewed v474 Fleet Map non-live marker refresh execution dry-run and rollback readiness.

• Proceeded with the compressed v475 safety-package cycle before connecting real GPS/ELD providers, changing payment collection, broker distribution limits, owned portal rules, internal load-board access, or activating Transportation Accounting.

• Added hardened dry-run conflict checks, supervisor evidence review labels, approved refresh staging labels, rollback packet preparation, rollback packet export/copy lines, and execution readiness warnings.

• Added Fleet Map rollback packet summary counts, filter support, selected-truck packet/export copy visibility, and a rollback packet readiness panel.

• Kept marker coordinate mutation locked. v475 does not move markers, turn blue markers green, call Google server APIs, connect providers, or activate accounting workflows.

• Updated Fleet Map architecture documentation, architecture index, documentation source-of-truth, active handoff, environment example, and build history.

v474 Fleet Map Non-Live Marker Refresh Execution Dry-Run and Rollback Readiness

• Reviewed v473 Fleet Map supervisor approval decision audit trail and refresh execution lock modeling.

• Proceeded with Fleet Map non-live marker refresh execution dry-run and rollback readiness before connecting real GPS/ELD providers, changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Kept `/fleet-map` as the dedicated CruiseMapper-style workspace truck tracking surface.

• Preserved the core marker rule: green = live driver-app GPS only, and blue = estimated or dispatcher-confirmed non-live position.

• Added `/api/fleet-map/marker-refresh-execution-dry-runs` for workspace supervisor dry-run and rollback audit recording.

• Added DomainEvent-backed dry-run records tied to the current supervisor approval decision and source manual position audit record.

• Added marker refresh execution dry-run readiness to each Fleet Map position, including current marker label, proposed blue/non-live marker source, conflict checks, required acknowledgements, rollback plan, coordinate-mutation lock, and next step.

• Added Dry-run filter, summary counts, selected-truck dry-run recorder, dry-run audit trail panel, hover/info-window readouts, truck-list chips, search coverage, and CORI prompts.

• Added `.env.example` dry-run recording flags while keeping coordinate mutation disabled.

• Updated Fleet Map architecture documentation, architecture index, documentation source-of-truth, active handoff, and build history.

• No marker-coordinate movement, real GPS, ELD, telematics, driver messaging, Google Routes API, Google Geocoding API, payment collection, broker distribution, owned portal rule, internal load-board access, Transportation Accounting workflow activation, or Prisma schema change was introduced.

---

v473 Fleet Map Supervisor Approval Decision Audit Trail and Refresh Execution Lock Modeling

• Reviewed v472 Fleet Map marker refresh approval queue and supervisor review readiness.

• Proceeded with Fleet Map supervisor approval decision audit trail and refresh execution lock modeling before connecting real GPS/ELD providers, changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Kept `/fleet-map` as the dedicated CruiseMapper-style workspace truck tracking surface.

• Preserved the core marker rule: green = live driver-app GPS only, and blue = estimated or dispatcher-confirmed non-live position.

• Added `/api/fleet-map/marker-refresh-approval-decisions` for workspace supervisor decision audit recording.

• Added DomainEvent-backed decision records for approve future blue/non-live refresh, request driver recheck, reject refresh, and protect live GPS.

• Added marker refresh approval decision readouts and refresh execution lock modeling to each Fleet Map position.

• Added Supervisor decision and Execution locked filters, summary counts, selected-truck decision recorder, audit trail panel, hover/info-window readouts, truck-list chips, search coverage, and CORI prompts.

• Added `.env.example` decision recording and execution lock flags while keeping marker refresh execution disabled.

• Updated Fleet Map architecture documentation, architecture index, documentation source-of-truth, active handoff, and build history.

• No marker-coordinate movement, marker refresh execution, real GPS, ELD, telematics, driver messaging, Google Routes API, Google Geocoding API, payment collection, broker distribution, owned portal rule, internal load-board access, Transportation Accounting workflow activation, or Prisma schema change was introduced.

---

v472 Fleet Map Marker Refresh Approval Queue and Supervisor Review Readiness

• Reviewed v471 Fleet Map dispatcher-confirmed marker refresh preview and non-live marker labeling.

• Proceeded with Fleet Map marker refresh approval queue and supervisor review readiness before connecting real GPS/ELD providers, changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Kept `/fleet-map` as the dedicated CruiseMapper-style workspace truck tracking surface.

• Preserved the core marker rule: green = live driver-app GPS only, and blue = estimated or dispatcher-confirmed non-live position.

• Added marker refresh approval queue data with supervisor review readiness, driver recheck, live GPS protected, locked, and future approval-ready states.

• Added review owner, supervisor role label, evidence summary, review reason, approval action label, safety decision label, and review checklist copy.

• Added Supervisor review summary counts, filter, queue panel, selected-truck panel, hover/info-window readouts, truck-list chips, search fields, and CORI prompts.

• Updated the client-side manual position audit success flow so newly recorded audit evidence can update marker refresh approval readiness immediately in the current Fleet Map view.

• Added `.env.example` approval queue flags while keeping approval mutation disabled.

• Added `Project Documentation/Architecture/TRANSPORTATION_ACCOUNTING_ORIGINAL_PLAN.md` as future planned Transportation Accounting architecture documentation only.

• Updated Fleet Map architecture documentation, architecture index, documentation source-of-truth, active handoff, and build history.

• No marker-coordinate movement, real GPS, ELD, telematics, driver messaging, Google Routes API, Google Geocoding API, payment collection, broker distribution, owned portal rule, internal load-board access, Transportation Accounting workflow activation, or Prisma schema change was introduced.

---

v471 Fleet Map Dispatcher-Confirmed Marker Refresh Preview and Non-Live Marker Labeling

• Reviewed v470.1 Fleet Map dispatcher-confirmed position type fix.

• Proceeded with Fleet Map dispatcher-confirmed marker refresh preview and non-live marker labeling before connecting real GPS/ELD providers, changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Kept `/fleet-map` as the dedicated CruiseMapper-style workspace truck tracking surface.

• Preserved the core marker rule: green = live driver-app GPS only, and blue = estimated or dispatcher-confirmed non-live position.

• Added marker refresh preview data, preview policy copy, blue/non-live preview labels, and D badge support for dispatcher-confirmed manual position evidence.

• Added Refresh preview summary counts, filter, selected-truck panel, hover/info-window readouts, truck-list chips, search fields, and CORI prompts.

• Updated the client-side manual position audit success flow so newly recorded audit evidence can update marker state and refresh preview labeling immediately in the current Fleet Map view.

• Added `.env.example` preview flags while keeping preview mutation disabled.

• Updated Fleet Map architecture documentation, active handoff, and build history.

• No marker-coordinate movement, real GPS, ELD, telematics, driver messaging, Google Routes API, Google Geocoding API, payment collection, broker distribution, owned portal rule, internal load-board access, or Prisma schema change was introduced.

---

v470.1 Fleet Map Dispatcher-Confirmed Position Type Fix

• Fixed the v470 production build failure in `src/modules/fleet-map/fleet-map.service.ts`.

• Added the required base `dispatcherConfirmedPositionState` to the normalized Fleet Map position object before return.

• Narrowed `buildDispatcherConfirmedPositionState()` to only require the `manualPositionUpdatePersistence` field it reads.

• Preserved the later audit-linking pass so recent manual position audit records still replace the base state where available.

• No new product behavior, real GPS/ELD connection, paid Google server API call, marker mutation, payment collection, broker distribution, owned portal rule, internal load-board, or Prisma schema change was made.

---

v469 Fleet Map Manual Position Update Persistence Contract and Audit Trail Planning

• Reviewed v468 Fleet Map driver check-in workflow and manual position update readiness.

• Proceeded with Fleet Map manual position update persistence contract and audit trail planning before connecting real GPS/ELD providers, changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Kept `/fleet-map` as the dedicated CruiseMapper-style workspace truck tracking surface.

• Preserved the core marker rule: green = live driver-app GPS and blue = estimated route-progress position.

• Added authenticated workspace API `/api/fleet-map/manual-position-updates`.

• Added a safe manual position update audit contract that records dispatcher-confirmed position updates through existing `DomainEvent` records.

• Added selected-truck manual position audit form for confirmed location, movement status, updated ETA, check-in time, update source, and dispatcher note.

• Added recent manual position audit trail records to the Fleet Map page.

• Added manual-position persistence contract fields to the Fleet Map snapshot, including required payload fields, audit trail fields, guardrails, marker-effect language, and future schema notes.

• Added `.env.example` flags for manual position audit event recording.

• Important guardrail: this records audit evidence only. It does not move truck markers, relabel blue estimated markers as green live GPS, send driver messages, connect GPS/ELD providers, call Google Routes/Geocoding APIs, or change billing/access behavior.

• Prisma schema impact: none.

---

v468 Fleet Map Driver Check-In Workflow and Manual Position Update Readiness

• Reviewed v467 Fleet Map CORI live tracking assistant recommendations.

• Proceeded with Fleet Map driver check-in workflow and manual position update readiness before connecting real GPS/ELD providers, changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Kept `/fleet-map` as the dedicated CruiseMapper-style workspace truck tracking surface.

• Preserved the core marker rule: green = live driver-app GPS and blue = estimated route-progress position.

• Extended the Fleet Map position API snapshot with driver check-in workflow status, priority, reason, next step, suggested question, suggested driver message, preferred channel, check-in triggers, and required confirmation fields.

• Extended the Fleet Map position API snapshot with manual dispatcher-confirmed position update readiness, suggested location, update instruction, required fields, guardrail note, and future audit note.

• Added Fleet Map summary counts and filters for driver check-ins and manual position update readiness.

• Added selected-truck driver check-in and manual position update readiness panels.

• Added check-in/manual-update readouts to Google hover info windows, preview hover cards, truck list chips, selected-truck detail panels, and CORI prompts.

• Added `.env.example` display thresholds for routine check-ins, overdue check-ins, and manual position review timing.

• Updated Fleet Map architecture documentation, HTML mirror, active handoff, architecture index, and build history.

• No real GPS, ELD, telematics, driver-message sending, manual position persistence, Google Routes API, Google Geocoding API, payment collection, broker distribution, owned portal rule, internal load-board access, or Prisma schema change was introduced.

---

v467 Fleet Map CORI Live Tracking Assistant Recommendations

• Reviewed v466 Fleet Map route deviation and dispatcher action queue readiness.

• Proceeded with Fleet Map CORI live tracking assistant recommendations before connecting real GPS/ELD providers, changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Kept `/fleet-map` as the dedicated CruiseMapper-style workspace truck tracking surface.

• Preserved the core marker rule: green = live driver-app GPS and blue = estimated route-progress position.

• Extended the Fleet Map position API snapshot with CORI recommendation priority, category, title, plain summary, recommended next step, suggested driver check-in message, supporting signals, and sort score.

• Added a Fleet Map CORI assistant summary with headline recommendation, next-best-action label, review order, top recommendation cards, and safety note.

• Added Fleet Map summary counts and filter support for CORI recommendations.

• Added a visible CORI live tracking assistant panel above the map with clickable recommendation cards that select the related truck.

• Added selected-truck CORI recommendation details and suggested driver check-in copy.

• Added CORI recommendation readouts to Google hover info windows, preview hover cards, truck list chips, selected-truck detail panels, and CORI prompts.

• Updated Fleet Map architecture documentation, HTML mirror, active handoff, architecture index, and build history.

• No real GPS, ELD, telematics, Google Routes API, Google Geocoding API, payment collection, broker distribution, owned portal rule, internal load-board access, or Prisma schema change was introduced.

---

v466 Fleet Map Route Deviation and Dispatcher Action Queue Readiness

• Reviewed v465 Fleet Map ETA risk and stopped-too-long signal foundation.

• Proceeded with Fleet Map route deviation and dispatcher action queue readiness before connecting real GPS/ELD providers, changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Kept `/fleet-map` as the dedicated CruiseMapper-style workspace truck tracking surface.

• Preserved the core marker rule: green = live driver-app GPS and blue = estimated route-progress position.

• Extended the Fleet Map position API snapshot with route deviation status, estimated off-route miles, route-deviation watch/urgent thresholds, route-deviation reasons, and dispatcher next-step copy.

• Added dispatcher action queue readiness to each Fleet Map truck position, including action priority, category, reason, and recommended action.

• Added Fleet Map summary counts and filters for route watch and dispatcher action queue.

• Added route deviation and action queue readouts to Google hover info windows, preview hover cards, truck list chips, selected-truck detail panels, and CORI prompts.

• Added `.env.example` display thresholds for route-deviation watch miles and urgent miles.

• Updated Fleet Map architecture documentation, HTML mirror, active handoff, architecture index, and build history.

• No real GPS, ELD, telematics, Google Routes API, Google Geocoding API, payment collection, broker distribution, owned portal rule, internal load-board access, or Prisma schema change was introduced.

---

v465 Fleet Map ETA Risk and Stopped-Too-Long Signal Foundation

• Reviewed v464 Fleet Map route overlay and pickup/delivery proximity foundation.

• Proceeded with Fleet Map ETA risk and stopped-too-long signal foundation before connecting real GPS/ELD providers, changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Kept `/fleet-map` as the dedicated CruiseMapper-style workspace truck tracking surface.

• Preserved the core marker rule: green truck markers are live driver-app GPS and blue truck markers are estimated route-progress positions.

• Added ETA risk objects to each normalized Fleet Map truck position:

- risk level;

- risk label;

- delivery target label;

- estimated arrival label;

- remaining travel hours;

- delivery buffer;

- risk factors;

- dispatcher next step.

• Added stopped-too-long signal objects to each normalized Fleet Map truck position:

- movement status;

- stopped/unknown minutes;

- workspace threshold;

- movement label;

- stopped-time reason;

- dispatcher next step.

• Added Fleet Map summary counts and filters for ETA risk and stopped watch.

• Added ETA risk and stopped-too-long readouts to Google hover info windows, preview hover cards, truck list chips, selected-truck detail panels, and CORI prompts.

• Added `.env.example` display thresholds for ETA watch buffer, ETA tight buffer, live stopped-too-long minutes, and estimated stopped-too-long minutes.

• Updated Fleet Map architecture documentation, HTML mirror, active handoff, and build history.

• No real GPS, ELD, telematics, Google Routes API, Google Geocoding API, payment collection, broker distribution, owned portal rule, internal load-board access, or Prisma schema change was introduced.

v464 Fleet Map Route Overlay and Pickup/Delivery Proximity Foundation

• Reviewed v463 Fleet Map marker polish and workspace active-load position confidence rules.

• Proceeded with Fleet Map route overlay and pickup/delivery proximity foundation before connecting real GPS/ELD providers, changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Kept `/fleet-map` as the dedicated CruiseMapper-style workspace truck tracking surface.

• Preserved the core marker rule: green = live driver-app GPS and blue = estimated route-progress position.

• Added selected-truck route overlay behavior:

- pickup point;

- current truck point;

- delivery point;

- route line on Google Maps when a browser key is configured;

- route line in preview mode when no key is configured.

• Extended the Fleet Map position API snapshot with route overlay and pickup/delivery proximity objects.

• Added proximity readouts for pickup distance, delivery distance, nearest stop guidance, near-pickup state, approaching-delivery state, and near-delivery state.

• Added Fleet Map filters for near-pickup and near-delivery/approaching-delivery trucks.

• Added selected-truck route overlay and pickup/delivery proximity panels.

• Added `.env.example` thresholds for near-pickup, approaching-delivery, and near-delivery display logic.

• Updated Fleet Map architecture documentation, HTML mirror, active handoff, and build history.

• Preserved guardrails: no live GPS/ELD provider connection, no paid Google server-side API call, no payment collection changes, no broker distribution changes, no owned portal changes, no internal load-board changes, and no Prisma schema change.

---

v463 Fleet Map Marker Polish and Workspace Active-Load Position Confidence Rules

• Reviewed v462 Fleet Map + live/estimated truck positioning documentation pivot and interface foundation.

• Proceeded with Fleet Map marker polish and workspace active-load position confidence rules before connecting real GPS/ELD providers, changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Kept `/fleet-map` as the dedicated CruiseMapper-style workspace truck tracking surface.

• Preserved the core marker rule: green = live driver-app GPS, blue = estimated route-progress position.

• Added polished Google Maps marker icons using colored truck-marker SVGs, selected-marker sizing, and an updated marker legend.

• Added preview-map confidence score badges and verify-position visual treatment for low-confidence truck positions.

• Extended the Fleet Map position API snapshot with confidence score, confidence level, confidence reasons, calculation basis, position source, signal freshness label, and dispatcher priority readout.

• Added a Verify Position filter for low-confidence and needs-check-in truck positions.

• Added selected-truck confidence and dispatcher-readout sections to explain why a position is trusted or should be verified.

• Added `.env.example` thresholds for live signal freshness, stale signal age, and minimum estimated-position confidence.

• Updated Fleet Map architecture documentation, HTML mirror, active handoff, and build history.

• Preserved guardrails: no live GPS/ELD provider connection, no paid Google server-side API call, no payment collection changes, no broker distribution changes, no owned portal changes, no internal load-board changes, and no Prisma schema change.

---

v462 Fleet Map + Live/Estimated Truck Positioning Documentation Pivot and Interface Foundation

• Paused the live billing enforcement track in documentation after v461 and marked billing as parked until core operational features are more complete.

• Added the Fleet Map architecture document for the CruiseMapper-style truck tracking concept.

• Added dedicated Workspace page `/fleet-map`.

• Added Fleet Map to the Operations sidebar and topbar metadata.

• Added authenticated Fleet Map API `/api/fleet-map/positions`.

• Added `FleetMapService`, Fleet Map types, and a normalized snapshot for active dispatched workspace trucks.

• Added green LIVE and blue ESTIMATED marker behavior, clickable markers, hover cards, truck list/filter panel, selected-truck detail panel, tracking confidence states, and CORI prompts.

• Added Google Maps Platform placeholders: browser Maps JavaScript API now powers the map when a public key is configured; Routes API / Geocoding / Places remain documented for later server-side expansion.

• Preserved guardrails: no live GPS/ELD provider connection, no payment collection changes, no broker distribution changes, no owned portal changes, no internal load-board changes, and no Prisma schema change.

---

v460 - Controlled Hard-Gate Expansion Activation Approval Switch

• Reviewed v459 controlled hard-gate expansion dry-run activation boundary.

• Proceeded with controlled hard-gate expansion activation approval switch before changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Added Super Admin API `/api/admin/hard-billing-gates/expansion-activation-approval`.

• Added `HardBillingGateExpansionActivationApprovalService`.

• Added a new **Controlled hard-gate expansion activation approval switch** panel inside `/admin/subscriptions` after the v459 dry-run activation boundary panel.

• Added activation approval checks for approval switch state, v459 dry-run evidence, approval scope size, scope quality, controlled runtime baseline, runtime mutation lock, downstream guardrails, and approval evidence recording.

• Added activation approval boundary sections covering v459 dry-run source evidence, approval scope, approval switch intent, runtime mutation lock, controlled runtime baseline, rollback/support boundary, and exports/records.

• Added activation approval row statuses for Switch ready, Already controlled, Needs v459 dry run, Rollback blocked, Guardrail blocked, Out of approval, and Locked.

• Added CSV exports for activation approval rows, approval checklist, and activation approval evidence history.

• Added Super Admin audit events `HARD_BILLING_GATE_EXPANSION_ACTIVATION_APPROVAL_REVIEWED` and `HARD_BILLING_GATE_EXPANSION_ACTIVATION_APPROVAL_SWITCH_RECORDED`.

• Extended the billing activation master checklist with v460 activation approval switch evidence and mutation-lock visibility.

• Added `.env.example` flags for activation approval review, recording, export requirement, dry-run-record requirement, mutation lock, label, scope slugs, and max approval workspace count.

• Preserved all guardrails: no payment collection, no billing status mutation, no broad hard-gate expansion, no controlled runtime allowlist change, no broker distribution changes, no owned portal rule changes, and no internal load-board access changes.

• Prisma schema impact: none.

v459 - Controlled Hard-Gate Expansion Dry-Run Activation Boundary

• Reviewed v458 controlled hard-gate expansion activation readiness packet.

• Proceeded with controlled hard-gate expansion dry-run activation boundary before changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Added Super Admin API `/api/admin/hard-billing-gates/expansion-dry-run-activation`.

• Added `HardBillingGateExpansionDryRunActivationService`.

• Added a new **Controlled hard-gate expansion dry-run activation boundary** panel inside `/admin/subscriptions` after the v458 activation readiness panel.

• Added dry-run activation checks for dry-run switch, v458 packet evidence, dry-run scope size, dry-run scope quality, runtime comparison, runtime mutation lock, downstream guardrails, and dry-run evidence recording.

• Added dry-run boundary sections covering v458 packet source, dry-run scope size and quality, simulated runtime outcome, runtime mutation lock, controlled runtime boundary, rollback/support boundary, and exports/records.

• Added dry-run row statuses for Dry-run ready, Needs v458 packet, Already controlled, Rollback blocked, Guardrail blocked, Out of dry run, and Locked.

• Added CSV exports for dry-run rows, dry-run boundary checklist, and dry-run evidence history.

• Added Super Admin audit events `HARD_BILLING_GATE_EXPANSION_DRY_RUN_REVIEWED` and `HARD_BILLING_GATE_EXPANSION_DRY_RUN_BOUNDARY_RECORDED`.

• Extended the billing activation master checklist with v459 dry-run activation boundary evidence and mutation-lock visibility.

• Added `.env.example` flags for dry-run review, recording, export requirement, packet-record requirement, mutation lock, label, scope slugs, and max dry-run workspace count.

• Preserved all guardrails: no payment collection, no billing status mutation, no broad hard-gate expansion, no controlled runtime allowlist change, no broker distribution changes, no owned portal rule changes, and no internal load-board access changes.

• Prisma schema impact: none.

v458 - Controlled Hard-Gate Expansion Activation Readiness Packet

• Reviewed v457 hard-gate expansion approval boundary and rollout-scope review.

• Proceeded with controlled hard-gate expansion activation readiness packet before changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Added Super Admin API `/api/admin/hard-billing-gates/expansion-activation-readiness`.

• Added `HardBillingGateExpansionActivationReadinessService`.

• Added a new **Controlled hard-gate expansion activation readiness** panel inside `/admin/subscriptions` after the v457 expansion approval panel.

• Added activation readiness checks for readiness switch, v457 evidence, activation packet size, candidate quality, controlled runtime boundary, downstream guardrails, and packet recording.

• Added activation packet sections covering v457 evidence chain, activation scope candidates, runtime activation boundary, rollback and support plan, packet export requirement, readiness review record, and final packet record.

• Added activation packet statuses for Ready for packet, Needs v457 evidence, Scope blocked, Rollback blocked, Guardrail blocked, Out of packet, and Locked.

• Added activation candidate, activation packet, and evidence history CSV exports.

• Added Super Admin audit events `HARD_BILLING_GATE_EXPANSION_ACTIVATION_READINESS_REVIEWED` and `HARD_BILLING_GATE_EXPANSION_ACTIVATION_PACKET_RECORDED`.

• Extended the billing activation master checklist with v458 activation readiness/packet evidence.

• Preserved all guardrails: no payment collection, no billing status mutation, no broad hard-gate expansion, no controlled runtime allowlist change, no broker distribution changes, no owned portal rule changes, and no internal load-board access changes.

• Prisma schema impact: none.

v457 - Hard-Gate Expansion Approval Boundary and Rollout-Scope Review

• Reviewed v456 hard-gate pilot support outcome review and final expansion checklist.

• Proceeded with hard-gate expansion approval boundary and rollout-scope review before changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Added Super Admin API `/api/admin/hard-billing-gates/expansion-approval`.

• Added `HardBillingGateExpansionApprovalService`.

• Added a new **Hard-gate expansion approval boundary** panel inside `/admin/subscriptions` after the v456 support outcome panel.

• Added boundary checks for approval switch, v456 prerequisite evidence, rollout scope switch, scope size, scope quality, downstream guardrails, and runtime activation boundary.

• Added rollout boundary sections covering approval boundary, pilot prerequisites, scope size, scope quality, rollback boundary, downstream guardrails, and rollout review.

• Added rollout-scope statuses for Approved scope, Needs evidence, Blocked, Rollback held, Out of scope, and Locked.

• Added rollout scope, approval boundary, and evidence history CSV exports.

• Added Super Admin audit events `HARD_BILLING_GATE_EXPANSION_APPROVAL_BOUNDARY_REVIEWED` and `HARD_BILLING_GATE_ROLLOUT_SCOPE_REVIEW_RECORDED`.

• Extended the billing activation master checklist with v457 expansion approval/rollout-scope evidence.

• Preserved all guardrails: no payment collection, no billing status mutation, no broad hard-gate expansion, no controlled pilot allowlist expansion, no broker distribution changes, no owned portal rule changes, and no internal load-board access changes.

• Prisma schema impact: none.

v456 - Hard-Gate Pilot Support Outcome Review and Final Expansion Checklist

• Reviewed v455 hard-gate pilot evidence closeout and operator support copy.

• Proceeded with hard-gate pilot support outcome review and final expansion checklist before changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Added Super Admin API `/api/admin/hard-billing-gates/pilot-support-outcome`.

• Added `HardBillingGatePilotSupportOutcomeService`.

• Added a new **Hard-gate pilot support outcome review** panel inside `/admin/subscriptions` after the v455 closeout panel.

• Added row-level support outcome statuses for Verified, Needs support note, Escalated, Rollback verification, Standby, and Locked.

• Added a final expansion checklist covering pilot chain evidence, support outcome evidence, unresolved access impact, downstream guardrails, expansion packet exports, and final checklist review.

• Added support outcome row, final expansion checklist, and evidence history CSV exports.

• Added Super Admin audit events `HARD_BILLING_GATE_PILOT_SUPPORT_OUTCOME_REVIEWED` and `HARD_BILLING_GATE_FINAL_EXPANSION_CHECKLIST_REVIEWED`.

• Extended the billing activation master checklist with v456 support outcome/final checklist evidence.

• Preserved all guardrails: no payment collection, no billing status mutation, no broad hard-gate expansion, no broker distribution changes, no owned portal rule changes, and no internal load-board access changes.

• Prisma schema impact: none.

v455 - Hard-Gate Pilot Evidence Closeout and Operator Support Copy

• Reviewed v454 hard-gate pilot rollback and safety monitoring.

• Proceeded with hard-gate pilot evidence closeout and operator support copy before changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Added Super Admin API `/api/admin/hard-billing-gates/pilot-closeout`.

• Added `HardBillingGatePilotCloseoutService`.

• Added a new **Hard-gate pilot evidence closeout** panel inside `/admin/subscriptions` after the v454 rollback/safety panel.

• Added closeout checks for closeout review, pilot evidence chain, safety/rollback evidence, active pilot risk, operator support copy, and downstream guardrails.

• Added row-level closeout statuses for Ready to close, Support watch, Escalated, Rolled back, Standby, and Locked.

• Added plain support copy blocks for active pilot rows, billing holds, plan-limit blocks, rollback support, and internal escalation.

• Added closeout packet, support copy, closeout row, and evidence history CSV exports.

• Added Super Admin audit event `HARD_BILLING_GATE_PILOT_CLOSEOUT_REVIEWED`.

• Extended the billing activation master checklist with v455 pilot closeout/support-copy evidence.

• Preserved all guardrails: no payment collection, no billing status mutation, no broad hard-gate activation, no broker distribution changes, no owned portal rule changes, and no internal load-board access changes.

• Prisma schema impact: none.

v454 - Hard-Gate Pilot Rollback and Safety Monitoring

• Reviewed v453 hard billing gate controlled activation.

• Proceeded with hard-gate pilot rollback and safety monitoring before changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Added Super Admin API `/api/admin/hard-billing-gates/pilot-safety-monitoring`.

• Added `HardBillingGatePilotSafetyMonitoringService`.

• Added a new **Hard-gate pilot rollback and safety monitoring** panel inside `/admin/subscriptions`.

• Added row-level pilot safety states for Stable, Watch, Escalate, Rolled back, Standby, and Locked.

• Added CSV exports for pilot safety rows, pilot safety evidence history, and rollback plan.

• Added Super Admin audit events `HARD_BILLING_GATE_PILOT_SAFETY_REVIEWED` and `HARD_BILLING_GATE_PILOT_ROLLBACK_RECORDED`.

• Added `DISPATCH_SPOT_HARD_BILLING_GATE_PILOT_ROLLBACK_ACTIVE` as a controlled pilot stop flag in the hard-gate policy.

• Extended the billing activation master checklist with v454 pilot rollback and safety monitoring evidence.

• Preserved all guardrails: no payment collection, no billing status mutation, no broker distribution changes, no owned portal rule changes, and no internal load-board access changes.

• Prisma schema impact: none.

v451 - Payment Collection Activation Readiness Switch

• Reviewed v450 trial-to-paid conversion test checkpoint.

• Proceeded with payment collection activation readiness switch before changing payment collection, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Added Super Admin API `/api/admin/stripe-payment-collection/activation-readiness`.

• Added `StripePaymentCollectionActivationReadinessService`.

• Added a new **Payment collection activation readiness switch** panel inside `/admin/subscriptions`.

• Added six Super Admin readiness switches for master checklist closeout, controlled URL-return evidence, verified webhook sync evidence, trial-to-paid checkpoint evidence, activation guardrails, and rollback/support planning.

• Stored readiness switch approvals and revocations in `SuperAdminAuditEvent` records under `STRIPE_PAYMENT_COLLECTION_ACTIVATION_READINESS_SWITCH_UPDATED`.

• Added CSV exports for readiness switches and readiness history.

• Extended the billing activation master checklist with v451 readiness switch evidence counts and review-only status.

• Added `.env.example` flags for readiness switch recording and payment collection activation review-only posture.

• Preserved all guardrails: no payment collection, no live checkout activation, no customer portal activation, no webhook subscription mutation, no trial-to-paid conversion, no billing status mutation, no hard billing gates, no broker distribution changes, no owned portal rule changes, and no internal load-board access changes.

• Prisma schema impact: none.

v449 - Verified Webhook Subscription-Sync Test Mutation

• Reviewed v448.1 controlled checkout URL return build fix.

• Proceeded with verified webhook subscription-sync test mutation before changing payment collection, trial-to-paid conversion, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Added a guarded provider-sync test mutation path to `/api/subscriptions/stripe-webhook`.

• Added `DISPATCH_SPOT_STRIPE_WEBHOOK_TEST_SYNC_MUTATION_ENABLED` to `.env.example`.

• Test mutation requires signed verified Stripe test webhook events, Stripe test mode, mapped workspace subscription IDs, webhook intake enabled, subscription sync enabled, the v449 test mutation flag enabled, and all access-changing activation flags off.

• Test mutation updates provider sync fields only: billing provider/mode, provider sync status, provider billing status, Stripe customer/subscription/item IDs when present, current period end, and last provider sync timestamp.

• WorkspaceSubscription status is not changed; trial-to-paid conversion is not activated; payment collection, customer portal activation, hard billing gates, broker distribution, owned portal rules, and internal load-board access remain unchanged.

• Added duplicate event protection and Super Admin audit event `STRIPE_SUBSCRIPTION_SYNC_TEST_MUTATION_APPLIED`.

• Updated Stripe webhook review, subscription sync readiness, and billing activation master checklist evidence surfaces.

• Prisma schema impact: none.

v448.1 - Controlled Checkout URL Return Build Fix

• Reviewed the v448 WHM build error.

• Fixed `src/modules/subscriptions/stripe-checkout-route-scaffold.service.ts` where `shouldReturnUrl` was referenced before declaration during the disabled-checkout audit branch.

• Moved `shouldReturnUrl` calculation before the early disabled test-session creation branch.

• Removed the later duplicate declaration after Stripe Checkout session creation.

• Simplified the disabled-checkout audit summary and preserved URL-return flag visibility through `checkoutUrlReturnEnabled` metadata.

• Preserved all v448 controlled test-mode URL-return guardrails.

• No payment collection, live customer portal activation, customer portal behavior expansion, webhook subscription mutation, trial-to-paid conversion, billing status mutation, hard billing gates, broker distribution changes, owned portal rule changes, or internal load-board access changes were made.

• Prisma schema impact: none.

v448 - Controlled Checkout and Portal URL Return Review

• Reviewed v447 customer portal locked test-session preparation.

• Proceeded with controlled checkout and customer portal URL-return review before changing payment collection, webhook subscription mutation, trial-to-paid conversion, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Added Super Admin API `/api/admin/stripe-url-return/controlled-review`.

• Added a new **Controlled checkout and portal URL return review** panel to `/admin/subscriptions`.

• Combined checkout URL-return readiness and customer portal URL-return readiness into one Super Admin evidence surface.

• Extended Stripe Checkout test-session behavior so a controlled Stripe test checkout URL can be returned only when explicit test flags, Stripe test mode, approval switches, and guardrails are clean.

• Extended Workspace Billing customer portal behavior so a Stripe Billing Portal test session and URL can be returned only when explicit portal test flags, Stripe test mode, workspace readiness, and guardrails are clean.

• Added controlled URL-return audit evidence for checkout and portal test links.

• Added `dispatchspot-controlled-checkout-portal-url-return-review.csv` export.

• Updated Workspace Admin `/billing` copy to label test checkout and portal links as controlled Stripe test-mode review tools only.

• Updated customer portal preparation, checkout URL readiness, billing activation checklist, and subscription lifecycle evidence to recognize controlled URL-return records.

• Preserved all billing guardrails: no payment collection, no live customer portal activation, no webhook subscription mutation, no trial-to-paid conversion, no billing status mutation, no hard billing gates, no broker distribution changes, no owned portal rule changes, and no internal load-board access changes.

• Prisma schema impact: none.

v447 - Customer Portal Locked Test-Session Preparation

• Reviewed v446 final warning/audit evidence closeout bundle.

• Proceeded with customer portal locked test-session preparation before changing payment collection, customer portal URL return, webhook subscription mutation, trial-to-paid conversion, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Added Super Admin API `/api/admin/stripe-customer-portal/test-session-preparation`.

• Added a new **Customer portal preparation** panel to `/admin/subscriptions` showing active guardrails, environment flags, prepared Billing Portal request shape, workspace readiness rows, first-fix guidance, recent portal review evidence, and CSV export.

• Extended the Workspace Billing customer portal scaffold so `/billing` now shows a guarded Subscription portal card and can record a locked review without creating a Stripe Billing Portal session.

• Added `DISPATCH_SPOT_STRIPE_CUSTOMER_PORTAL_URL_RETURN_ENABLED="false"` to `.env.example`.

• Updated billing activation master checklist customer-portal evidence to recognize locked customer portal preparation review records.

• Preserved all billing guardrails: no Stripe Billing Portal session creation, no customer portal URL return, no payment collection, no webhook subscription mutation, no trial-to-paid conversion, no billing status mutation, no hard billing gates, no broker distribution changes, no owned portal rule changes, and no internal load-board access changes.

• Prisma schema impact: none.

v446 - Final Warning/Audit Evidence Closeout Bundle

Reviewed v445 lifecycle audit-note threshold configuration visibility and proceeded with a final warning/audit evidence closeout bundle before any billing activation behavior.

What changed

• Added a final evidence closeout model to the Super Admin subscription lifecycle review service.

• Added a new **Final warning/audit evidence closeout** section inside `/admin/subscriptions`.

• Bundled the last review-only evidence checks for:

- review-only billing guardrails

- lifecycle audit-note evidence

- lifecycle stale-review threshold configuration evidence

- Workspace Billing warning acknowledgement evidence

- warning acknowledgement match-basis evidence

- export closeout package readiness

• Added row-level activation evidence fields to each lifecycle workspace row:

- evidence state

- evidence closeout needed

- evidence issues

- evidence next step

• Added an **Evidence closeout** filter to the Super Admin Subscription lifecycle panel.

• Expanded lifecycle CSV exports with evidence state, evidence issues, and evidence next step.

• Expanded warning acknowledgement CSV exports with match-basis, access statement, and Billing Records statement.

• Added a final evidence closeout CSV export:

- `dispatchspot-final-warning-audit-evidence-closeout.csv`

• Updated documentation source of truth for v446.

Guardrails

This build is review-only. It does not collect payment, create customer portal sessions, return customer portal URLs, mutate subscription status, convert trials to paid subscriptions, enforce hard billing gates, change broker distribution limits, change owned portal rules, or open internal load-board access.

The evidence closeout panel and exports are Super Admin review tools only. They do not mute Workspace Billing warnings, block Workspace Admins, or change any subscription record.

Validation notes

• Prisma schema changed: No.

• Local import preflight passed.

• Targeted TypeScript/TSX syntax checks passed for the changed lifecycle service and Super Admin panel.

v445 - Lifecycle Audit-Note Threshold Configuration Visibility

• Reviewed v444 warning acknowledgement current-vs-changed matching hardening.

• Proceeded with lifecycle audit-note threshold configuration visibility before any billing activation behavior.

• Added structured threshold configuration details to the subscription lifecycle review service.

• Super Admin `/admin/subscriptions` now shows active lifecycle audit-note stale-review thresholds, default values, environment variable names, raw environment override values, allowed ranges, invalid override counts, and clamped override indicators.

• Added a clear review-only effect statement so Super Admin can see that threshold settings only affect review labels, due-soon/stale counts, and exports.

• Added a lifecycle audit-note threshold configuration CSV export.

• Updated `.env.example` comments to clarify that these flags only support Super Admin review visibility.

• Preserved all billing guardrails: no payment collection, customer portal sessions, webhook subscription mutation, trial-to-paid conversion, billing status mutation, hard billing gates, broker distribution changes, owned portal rule changes, or internal load-board access changes.

• Prisma schema impact: none.

v444 - Warning Acknowledgement Current-vs-Changed Matching Hardening

• Reviewed v443 lifecycle audit-note stale-review threshold hardening.

• Decided to harden warning acknowledgement current-vs-changed matching before changing payment collection, customer portal sessions, webhook subscription mutation, trial-to-paid conversion, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Added v444 stable acknowledgement matching using notice type, severity, subscription status, provider sync status, plan name, and normalized signal keys.

• Stored warning fingerprint version, signal signature, and match basis in new Workspace Billing warning acknowledgement audit records.

• Added current-vs-latest signal signatures and changed-reason explanations in Workspace Admin Billing and Super Admin subscription lifecycle review.

• Expanded Super Admin lifecycle and acknowledgement CSV exports with acknowledgement matching context.

• Warning acknowledgements remain review-only and do not mute warnings, collect payment, open portal sessions, mutate subscription status, or change access.

• Prisma schema impact: none.

v443 - Lifecycle Audit-Note Stale-Review Threshold Hardening

• Reviewed v442 warning acknowledgement filters and acknowledgement context hardening.

• Proceeded with lifecycle audit-note stale-review threshold hardening before any billing activation behavior.

• Replaced the previous fixed stale-note age with risk-based stale-review thresholds for blocked-risk, review-needed, ready, and historical lifecycle rows.

• Added due-soon audit-note counts, due-status summaries, and cadence summaries to the Super Admin Subscription lifecycle review.

• Added row-level audit cadence, urgency, stale threshold, days until stale, due status, and refresh reason fields.

• Expanded lifecycle CSV export with threshold/cadence context so Super Admin can see why a note is current, due soon, or stale.

• Added threshold/cadence context to newly saved lifecycle audit-note audit records.

• Added v443 .env.example review-threshold flags. These flags only affect review labels and exports.

• Preserved all billing guardrails: no payment collection, customer portal sessions, webhook subscription mutation, trial-to-paid conversion, billing status mutation, hard billing gates, broker distribution changes, owned portal rule changes, or internal load-board access changes.

v442 - Warning Acknowledgement Filters and Acknowledgement Context Hardening

• Reviewed v441 lifecycle audit-note filters and export polish.

• Proceeded with warning acknowledgement filters and acknowledgement context hardening before any billing activation behavior.

• Added Super Admin-only API `/api/admin/subscription-lifecycle/warning-acknowledgement` for filtered acknowledgement review.

• Hardened Workspace Billing warning acknowledgement records with warning status, subscription status, provider sync status, plan, signal keys, next-step copy, and acknowledgement effect.

• Added warning acknowledgement states to lifecycle review rows: needs acknowledgement, acknowledged current status, changed since acknowledgement, history only, and no warning needed.

• Added warning acknowledgement summary counts by state, severity, and warning status.

• Added an Acknowledgements filter and warning acknowledgement context panel to the Super Admin Subscription lifecycle review.

• Added warning acknowledgement context to lifecycle CSV exports and added a dedicated warning acknowledgement CSV export.

• Improved Workspace Admin Billing notice acknowledgement copy so current-vs-changed acknowledgement status is clear.

• Preserved all billing guardrails: no payment collection, customer portal sessions, webhook subscription mutation, trial-to-paid conversion, billing status mutation, hard billing gates, broker distribution changes, owned portal rule changes, or internal load-board access changes.

v441 - Lifecycle Audit-Note Filters and Export Polish

• Reviewed v440 Workspace Billing warning copy/status coverage hardening.

• Proceeded with lifecycle audit-note filters and export polish before any billing activation behavior.

• Added row-level lifecycle audit-note state for needs-note, has-note, stale-note, and no-note-needed review outcomes.

• Added lifecycle audit-note coverage summaries grouped by readiness and lifecycle state.

• Added an Audit notes filter to the Super Admin Subscription lifecycle panel.

• Expanded lifecycle review search to include audit state, latest lifecycle note, and latest warning acknowledgement title.

• Expanded lifecycle CSV export with audit-note state, note count, latest note, note age, warning acknowledgement count, and latest warning acknowledgement title.

• Added filtered audit-note CSV export and a focused rows-needing-notes CSV export.

• Extended the lifecycle audit-note GET route with Super Admin query filters for workspace, readiness, lifecycle, search text, and limit.

• Preserved all billing guardrails: no payment collection, customer portal sessions, webhook subscription mutation, trial-to-paid conversion, billing status mutation, hard billing gates, broker distribution changes, owned portal rule changes, or internal load-board access changes.

v440 - Workspace Billing Warning Copy and Status Coverage Hardening

• Reviewed v439 lifecycle sync audit-note hardening and warning acknowledgement history.

• Proceeded with Workspace Billing warning copy/status coverage hardening before any billing activation behavior.

• Added a dedicated Workspace Billing warning copy model to `BillingGateReadinessService`.

• Added status-specific plain copy for missing subscription, missing plan, provider sync error, canceled, paused, past due, expired trial, missing trial date, trial ending soon, over-plan usage, active clear state, and fallback review states.

• Extended `/api/subscriptions/billing-warning` with `statusCoverage` so Workspace Admin notices can explain the current impact, access impact, Billing Records impact, next step, and plan statement in plain language.

• Improved `/billing` Subscription notice with "What this means," "Can I keep working?," "Billing Records," and "Next step" cards plus status facts.

• Extended `/admin/subscriptions` hard-gate readiness review with Workspace Billing warning copy coverage counts, state cards, and CSV fields.

• Added a hard-gate readiness checklist item for Workspace Billing warning copy coverage.

• Preserved all billing guardrails: no payment collection, customer portal sessions, webhook subscription mutation, trial-to-paid conversion, billing status mutation, hard billing gates, broker distribution changes, owned portal rule changes, or internal load-board access changes.

v439 - Lifecycle Sync Audit Notes and Warning Acknowledgement History

• Reviewed v438 soft billing warnings and hard-gate readiness checklist.

• Proceeded with lifecycle sync audit-note hardening and warning acknowledgement history before Workspace Billing warning copy/status hardening or any billing activation behavior.

• Added Super Admin-only `/api/admin/subscription-lifecycle/audit-note`.

• Added Workspace-authenticated `/api/subscriptions/billing-warning/acknowledgement`.

• Extended the subscription lifecycle review with lifecycle audit-note counts, risky rows without notes, latest review note details, warning acknowledgement counts, and recent acknowledgement history.

• Added lifecycle audit-note coverage and warning acknowledgement history checks to `/admin/subscriptions`.

• Super Admin can now save review-only lifecycle notes directly from each workspace row in the Subscription lifecycle panel.

• Added CSV export for lifecycle sync audit notes.

• Workspace Admin Billing can now acknowledge a visible soft Subscription notice and see recent acknowledgement history.

• Warning acknowledgements are record-only. They do not mute warnings, collect payment, create customer portal sessions, mutate subscription status, or block access.

• Reused `SuperAdminAuditEvent`; Prisma schema impact: none.

• Payment collection, customer portal sessions, webhook subscription mutation, trial-to-paid conversion, billing status mutation, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access remain inactive.

v438 - Soft Billing Warnings and Hard-Gate Readiness Checklist

• Reviewed v437 subscription lifecycle and review-only billing sync.

• Proceeded with soft billing warnings and a hard-gate readiness checklist before lifecycle-sync audit-note hardening or any billing activation behavior.

• Added Super Admin-only `/api/admin/billing-gates/readiness`.

• Added Workspace-authenticated `/api/subscriptions/billing-warning`.

• Added `BillingGateReadinessService` for workspace soft-warning review, hard-gate readiness, lifecycle warning coverage, plan-limit pressure, add-on price readiness, provider-sync warnings, and guardrail review.

• Extended `/admin/subscriptions` with a Soft warnings and hard-gate readiness panel, checklist cards, workspace readiness filters, and CSV exports.

• Added a simple non-blocking Subscription notice card inside Workspace Admin `/billing`.

• Adjusted entitlement evaluation so past-due, paused, canceled, and over-limit states remain soft warnings while hard billing gates are off.

• Added soft-warning and hard-gate environment guardrails to `.env.example`.

• Product UI impact: Super Admin receives a readiness checklist; Workspace Admin Billing can show a simple soft notice only when needed.

• Prisma schema impact: none.

• Payment collection, customer portal sessions, webhook subscription mutation, trial-to-paid conversion, billing status mutation, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access remain inactive.

v436 - Workspace Entitlement Visibility and Add-on Readiness

• Reviewed v435 plan entitlement model and plan limits editor.

• Proceeded with workspace entitlement visibility and add-on readiness before billing activation approvals, payment collection, customer portal sessions, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Added Super Admin-only API `/api/admin/workspace-entitlements/review`.

• Added `WorkspaceEntitlementVisibilityService` to evaluate each workspace against its saved plan, usage, trial status, entitlement state, and add-on readiness.

• Extended `/admin/subscriptions` with a workspace entitlement visibility panel.

• Super Admin can now filter and export workspace entitlement rows and add-on readiness rows.

• Product UI impact: Super Admin only.

• Prisma schema impact: none. Existing plan, subscription, workspace, user, truck, and phone-system settings are used.

• Payment collection, customer portal sessions, webhook subscription mutation, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access remain inactive.

v432 - Stripe Webhook Locked Scaffold and Webhook Review Dashboard

• Reviewed v431 checkout URL readiness and success/cancel route scaffold.

• Proceeded with the condensed Stripe webhook locked scaffold and review dashboard before payment collection, customer portal sessions, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Added locked review-only webhook endpoint `/api/subscriptions/stripe-webhook`.

• Added Super Admin-only review API `/api/admin/stripe-webhook/review`.

• Added `StripeWebhookLockedReviewService` to parse/log sanitized Stripe webhook metadata without updating workspace subscriptions.

• Extended `/admin/subscriptions` with a Stripe webhook review dashboard.

• Super Admin can now review webhook route readiness, signature status, live-event ignore counts, locked review events, matched workspace events, legacy handled events, and CSV export of filtered webhook records.

• Added environment flags for webhook scaffold, event intake, subscription sync, and hard billing gates. Defaults remain locked/off.

• Product UI impact: Super Admin only.

• Prisma schema impact: none. Reuses `StripePlatformWebhookEventLog`.

• Webhook-driven subscription mutation, checkout URL return, payment collection, customer portal sessions, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access remain inactive.

v427.1 - Signup Email Verification Delivery and Legacy Auth Link Fix

• Reviewed the reported new-workspace verification email delivery gap and Super Admin email verification 404 link issue.

• Confirmed signup-created workspace admins were not being issued the standard email-verification message during workspace creation.

• Updated workspace creation to issue the admin email-verification message after the workspace/admin transaction commits, using the existing platform auth email sender.

• Kept workspace creation resilient if delivery fails, while returning verification delivery status to signup.

• Updated `/sign-up` success wording to show whether verification email was sent, skipped, or needs resend.

• Corrected email verification and password reset template links to `/verify-email` and `/reset-password`.

• Added legacy redirects for `/auth/verify-email` and `/auth/reset-password` so already-sent old links no longer land on 404.

• Stripe checkout sessions, card collection, customer portal sessions, invoices, charges, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access remain inactive.

• Prisma schema impact: none.

v427 — Super Admin Stripe Price Readiness Export and Audit Notes

• Reviewed v426 Workspace Admin checkout locked-state review inside Billing.

• Proceeded with Super Admin Stripe price readiness export/audit notes before guarded Stripe Checkout session creation.

• Extended `/admin/subscriptions` with Stripe price readiness CSV exports for all candidate plans and for issue-only candidate plans.

• Added recent Stripe price readiness audit notes to the candidate-plan readiness section.

• Added selected-plan audit note entry inside the Stripe-ready billing fields.

• Added Super Admin-only route `/api/admin/stripe-price-readiness/audit-note`.

• Audit notes are saved to `SuperAdminAuditEvent` with action `STRIPE_PRICE_READINESS_AUDIT_NOTE_ADDED`.

• Audit metadata stores server-reviewed readiness status, warnings, first-fix guidance, masked Stripe ID signals, and guardrail status.

• Product UI impact: Super Admin can export readiness data and save audit notes from `/admin/subscriptions`.

• Prisma schema impact: none.

• Stripe checkout sessions, card collection, customer portal sessions, invoices, charges, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access remain inactive.

v426 — Workspace Admin Checkout Locked-State Review Inside Billing

• Reviewed v425 candidate-plan Stripe price readiness controls.

• Proceeded with Workspace Admin checkout locked-state review inside `/billing`.

• Added a subscription checkout review card that reads the existing locked checkout route review.

• Added a `Check locked checkout` action that confirms no payment page opens and no payment behavior starts.

• Shows plan, subscription status, trial end date, payment-page lock state, and plain readiness cards for Workspace Admin.

• Product UI impact: Workspace Admin Billing now shows a locked checkout readiness card.

• Prisma schema impact: none.

• Stripe checkout sessions, card collection, customer portal sessions, invoices, charges, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access remain inactive.

v412 — Workspace Type / Subscription Schema Design Review

• Reviewed v411 Super Admin workspace type and subscription overview foundation.

• Kept work in planning/documentation mode before Prisma or sign-up changes.

• Added `Project Documentation/Architecture/WORKSPACE_TYPE_SUBSCRIPTION_SCHEMA_DESIGN_REVIEW.md` and HTML mirror.

• Added `Project Documentation/Build History/WORKSPACE_TYPE_SUBSCRIPTION_SCHEMA_DESIGN_REVIEW_V412.md` and HTML mirror.

• Decided the proposed workspace type model, account class model, plan visibility model, trial policy model, registration workflow state, owned interface / invited portal ownership model, broker load-distribution usage model, internal load-board access model, billing gate override rules, and Super Admin audit model.

• Confirmed drivers remain owned interfaces under their workspace and do not need independent subscriptions by default.

• Confirmed broker email/load distribution and internal load-board posting must be entitlement-gated, usage-tracked, approval/audit-backed, and Super Admin-visible before live scale.

• Product UI impact: none.

• Prisma schema impact: none.

v411 — Super Admin Workspace Type and Subscription Overview Foundation

• Reviewed v410 membership subscription/trial/workspace-type architecture.

• Proceeded with the first Super Admin planning/control surface using existing schema only.

• Added /admin/workspaces/types and the Super Admin sidebar item Workspace Types & Access.

• Added workspace type, account class, trial/subscription, plan visibility, entitlement, owned-interface, invited-portal, and billing-gate review surfaces.

• Extended the workspace list payload to include existing trialEndsAt and currentPeriodEndsAt fields.

• Kept workspace type inferred only; no Prisma changes were made.

• Documented future schema needs for stored workspace type, account class, plan visibility, trial policy, portal ownership, broker load-distribution usage, and Super Admin override/audit records.

• Product UI impact: Super Admin only.

• Prisma schema impact: none.

v410 — Membership Subscription, Trial, and Workspace-Type Architecture

• Reviewed v409 role workspace architecture and Super Admin administration requirements.

• Proceeded with subscription/trial/workspace-type architecture planning before sign-up UI or Prisma changes.

• Added `Project Documentation/Architecture/MEMBERSHIP_SUBSCRIPTION_TRIAL_WORKSPACE_TYPE_ARCHITECTURE.md` and HTML mirror.

• Added `Project Documentation/Build History/MEMBERSHIP_SUBSCRIPTION_TRIAL_WORKSPACE_TYPE_ARCHITECTURE_V410.md` and HTML mirror.

• Defined paid workspace, owned interface, invited portal, and platform layer account classes.

• Set the initial recommended trial policy at 14 days, configurable by Super Admin later.

• Decided that workspace type and plan selection should happen during registration before workspace creation.

• Clarified that drivers and most invited portals do not need independent subscriptions by default.

• Clarified that broker load distribution, carrier email lists, external load-board posting, internal load-board access, Twilio usage, and high-cost CORI/AI should be plan/billing/usage gated.

• Reviewed current Prisma schema strengths and gaps without changing schema.

• Product UI impact: none.

• Prisma schema impact: none.

v409 — Role Workspace Architecture and Super Admin Administration Requirements

• Reviewed v408 Super Admin control-center information architecture and driver workspace clarification.

• Added `Project Documentation/Architecture/ROLE_WORKSPACE_ARCHITECTURE_AND_SUPER_ADMIN_ADMINISTRATION_REQUIREMENTS.md` and HTML mirror.

• Added `Project Documentation/Build History/ROLE_WORKSPACE_ARCHITECTURE_SUPER_ADMIN_REQUIREMENTS_V409.md` and HTML mirror.

• Documented planned behavior for Dispatcher, Company/Fleet, Carrier/Owner-Operator, Driver, Freight Broker, Shipper/Customer, internal Dispatch Spot load board, and internal Dispatch Spot Operations workspaces.

• Clearly separated paid customer workspaces from owned user/interface roles such as Driver Workspace.

• Confirmed Driver Workspace remains owned by the workspace the driver drives for and does not require an independent subscription by default.

• Expanded Freight Broker planning for full brokerage operations, carrier list management, SendGrid-like carrier email distribution, external load-board posting, future Dispatch Spot internal load-board posting, response capture, anti-abuse controls, and Super Admin oversight.

• Defined what Super Admin must control, bill, limit, support, and audit for each workspace type/interface.

• Product UI impact: none.

• Prisma schema impact: none.

v408 — Super Admin Control Center Information Architecture and Driver Workspace Clarification

• Reviewed the requested Super Admin planning direction before product UI work.

• Added `Project Documentation/Architecture/SUPER_ADMIN_CONTROL_CENTER_INFORMATION_ARCHITECTURE_PLAN.md` and HTML mirror.

• Organized Super Admin as a platform operations console with sections for Platform Command Center, Workspaces, Subscriptions & Billing, Integrations Control Center, Phone System & Messaging, Notifications & Communications, CORI & AI Governance, Users/Roles/Security, Operations & Support, Reports & Analytics, Platform Settings, and Documentation & Runbooks.

• Documented Super Admin vs Workspace Admin vs operational workspace boundaries.

• Documented the Twilio direction: Dispatch Spot controls the platform Twilio service, Twilio bills Dispatch Spot, and Dispatch Spot bills workspaces through Stripe according to plan limits, add-ons, phone-number assignments, and usage rules.

• Updated the workspace parity/subscription plan to clarify that drivers do not need independent Dispatch Spot subscriptions by default. Driver users/interfaces are owned by the workspace they drive for.

• Added Driver Workspace direction for truck earnings when allowed, current/upcoming loads, route progress, weather/traffic advisories, truck-stop/refuel planning, rest-hour management, places to eat, repair centers, document upload, dispatch communication, urgent alerts, and limited road-focused Ask CORI privileges.

• Product UI impact: none.

• Prisma schema impact: none.

v403 — Notification scheduler webhook execution hardening

• Reviewed v402 notification scheduled digest planning and guarded trigger rules.

• Continued notifications with scheduler/webhook execution hardening instead of returning to another operational surface.

• Added protected scheduler readiness/execution at `/api/app-notifications/email-digest/scheduler`.

• Added `DISPATCH_SPOT_NOTIFICATION_DIGEST_WEBHOOK_SECRET` protection for cron/webhook callers.

• Kept guarded automatic sends locked behind `DISPATCH_SPOT_NOTIFICATION_AUTO_DIGEST_ENABLED=true`.

• Added dry-run support and scan limits for scheduler checks.

• Hardened manual trigger checks so Workspace Settings users can check readiness without accidentally auto-sending.

• Added scheduler/webhook readiness wording to Workspace Settings > Notifications.

• Kept `/notifications` alert/action-only and provider setup in `/company/integrations`.

• Reused existing `OutboundEmailLog` records.

• Product UI impact: Workspace Settings > Notifications shows protected scheduler readiness wording; no operational page changes.

• Prisma schema impact: none.

v402 — Notification scheduled digest planning and guarded trigger rules

• Reviewed v401 notification digest history and readiness polish.

• Continued notifications instead of returning to another operational surface.

• Added scheduled digest plan data to /api/app-notifications/email-digest.

• Added guarded trigger-check behavior using the existing digest preferences and active alert snapshot.

• Added visible scheduled digest plan, trigger rules, automation-lock state, blockers, and guardrails inside Workspace Settings > Notifications.

• Added duplicate-send guards for empty digests, pending sends, recent sends, and daily team digest repeats.

• Kept automatic digest sends locked unless DISPATCH_SPOT_NOTIFICATION_AUTO_DIGEST_ENABLED=true is set.

• Kept /notifications alert/action-only and provider setup in /company/integrations.

• Reused existing OutboundEmailLog records.

• Product UI impact: Workspace Settings > Notifications gained scheduled digest planning and trigger-check visibility.

• Prisma schema impact: none.

v401 — Notification digest history and readiness polish

• Reviewed v400 notification digest/email-trigger behavior.

• Added GET support to /api/app-notifications/email-digest for digest send history.

• Added simple digest send history, last-send status, recent sent/failed/waiting counts, and retry guidance inside Workspace Settings > Notifications.

• Improved digest readiness wording while keeping provider setup links pointed to Workspace Integrations.

• Reused existing OutboundEmailLog records and app_notifications.email_digest metadata.

• Kept /notifications alert/action-only.

• Product UI impact: Workspace Settings > Notifications now has digest history and clearer readiness/retry guidance.

• Prisma schema impact: none.

v400 — Notification digest and email-trigger behavior

• Reviewed v399.1 CORI Mail chunk-load deployment hardening and accepted the hardened deployment baseline.

• Added /api/app-notifications/email-digest for guarded digest preview and approved manual send.

• Added Email digest and triggers inside Workspace Settings > Notifications.

• Added digest trigger selection from existing email alert preferences: urgent alerts, overdue/late work, due-today checks, and daily team digest.

• Reused existing OutboundEmailLog records for digest send attempts.

• Sanitized user-facing digest failure messages.

• Kept /notifications alert/action-only and provider setup in /company/integrations.

• Product UI impact: Workspace Settings > Notifications gained digest preview/send controls.

• Prisma schema impact: none.

---

v399 — CORI Mail send-review and audit visibility hardening

• Reviewed v398 documentation cleanup closeout and product re-entry plan.

• Returned to product feature work with CORI Mail as the next active track.

• Added `/api/cori-mail/send-history`.

• Added schema-backed CORI Mail send-review history using existing send audit records.

• Expanded CORI Mail memory counts for queued, needs-attention, sent, approved/waiting, and failed sends.

• Added a user-facing Send review and audit panel on `/cori/mail`.

• Added plain-language recent send-review records showing status, recipient, subject, timing, and simple outcome.

• Sanitized failure explanations so normal users do not see SMTP credentials, provider diagnostics, raw SMTP responses, or raw delivery logs.

• Kept provider setup in `/company/integrations`.

• Product UI impact: CORI Mail send-review visibility improved.

• Prisma schema impact: none.

---

v398 — Documentation cleanup closeout and product re-entry plan

• Reviewed v397 previous-chat requirements cross-check.

• Added `Project Documentation/10_DOCUMENTATION_CLEANUP_CLOSEOUT_AND_PRODUCT_REENTRY_PLAN_V398.md` and HTML mirror.

• Verified the active documentation set is ready enough for normal product feature work.

• Updated the documentation source-of-truth, build rules, operating manual, migration plan, README, requirements register, consolidated architecture manual, handoff, and changelog with the v398 closeout status.

• Confirmed broad documentation-only cleanup should stop by default unless a contradiction, missing previous-chat requirement, durable rule change, or user request requires another documentation audit.

• Recommended the next product track: CORI Mail send-review and audit visibility hardening.

• Product UI impact: none.

• Prisma schema impact: none.

v397 — Previous-chat requirements cross-check

• Reviewed v396 documentation reference sweep and compactness pass.

• Compared the previous-chat requirements register against the consolidated active product/architecture manual by module.

• Added `Project Documentation/09_PREVIOUS_CHAT_REQUIREMENTS_CROSS_CHECK_V397.md` and HTML mirror.

• Strengthened the consolidated manual for sidebar/CORI Briefing navigation, Super Admin parallel oversight, Workspace Admin guarded user deletion, CORI Briefing continuity/quality expectations, Ask CORI revisitable topics, CORI Financial closing earnings summary, future notification digest/email trigger placement, and telephony managed-platform readiness.

• Updated the previous-chat requirements register with v397 module coverage notes.

• Added a previous-chat cross-check rule to the build rules.

• Added superseded guidance for older generic Dashboard/KPI navigation assumptions.

• Product UI impact: none.

• Prisma schema impact: none.

v396 — Documentation reference sweep and compactness pass

• Reviewed v395 controlled documentation relocation.

• Added `Project Documentation/08_DOCUMENTATION_REFERENCE_SWEEP_AND_COMPACTNESS_PASS_V396.md` and HTML mirror.

• Archived the previous long active development protocol to `Project Documentation/Build History/DEVELOPMENT_PROTOCOL_HISTORICAL_NOTES_ARCHIVE_V396.md`.

• Replaced `Project Documentation/Active/DEVELOPMENT_PROTOCOL.md` with a compact active pointer.

• Updated active reading-order and controlled-folder references in the documentation README, operating manual, source-of-truth document, build rules, migration plan, architecture index, and root pointer README.

• Clarified the Markdown-controls-over-HTML-mirrors policy.

• Product UI impact: none.

• Prisma schema impact: none.

v395 — Controlled documentation relocation

• Current baseline after package generation: v395.

• Documentation-only package; no product UI, API behavior, or Prisma schema changes.

• Moved root Markdown, HTML, and README documentation files into `Project Documentation/` subfolders according to the v393 manifest and v394 consolidation rules.

• Preserved active control docs under `Project Documentation/Active/`.

• Preserved module standards under `Project Documentation/Active/Module Standards/`.

• Preserved architecture sources under `Project Documentation/Architecture/`.

• Preserved historical build records under `Project Documentation/Build History/`.

• Preserved superseded guidance under `Project Documentation/Superseded/`.

• Preserved duplicate/retired scaffold notes under `Project Documentation/Duplicates or Retired Scaffolds/`.

• Preserved HTML copies under `Project Documentation/HTML Mirrors/`.

• Added root `README.md` as the only intentional root documentation pointer.

• Added `scripts/dispatchspot-doc-relocation-cleanup-v395.mjs` to remove old root documentation copies from servers after unzip.

• Next recommended check-in: review v395, then proceed with v396 documentation reference sweep and duplicate reduction inside Project Documentation.

• No Prisma schema changes were made.

v394 - Consolidated active product and architecture manual

• Reviewed v393 root documentation inventory and classification.

• Created `Project Documentation/06_CONSOLIDATED_ACTIVE_PRODUCT_ARCHITECTURE_MANUAL_V394.md` and `.html`.

• Consolidated the active product and architecture direction from the v393 manifest, active architecture files, active module-standard files, previous-chat requirements register, build rules, source-of-truth docs, and available previous Dispatch Spot chat context.

• Covered Super Admin, subscriptions, entitlements, Stripe billing boundaries, CORI Briefing, Ask CORI, CORI Financial, CORI Mail, notifications, route planning, telephony, billing, accounting/QuickBooks, paperwork, CRM, Workspace Settings, integrations, privacy, mobile/field access, build-cycle rules, and placement rules.

• Updated the current operating manual, source-of-truth document, superseded guidance register, documentation migration plan, previous-chat requirements register, Project Documentation README, platform architecture index, build rules, changelog, and handoff.

• Did not move root documentation yet.

• No product UI changes.

• No Prisma schema changes.

v393 - Root documentation inventory and classification

• Reviewed v392 current operating manual and documentation folder foundation.

• Confirmed the controlled `Project Documentation/` folder is now the correct destination for durable new documentation.

• Scanned 210 root Markdown, HTML, and README documentation files.

• Added `Project Documentation/04_ROOT_DOCUMENTATION_INVENTORY_MANIFEST_V393.md` and `.html` with classification and recommended migration destination for every scanned root documentation file.

• Added `Project Documentation/05_ROOT_DOCUMENTATION_CONFLICT_NOTES_V393.md` and `.html` to explain the root README, legacy notification plan, historical roadmap, HTML mirror, and build-history risks.

• Classified root documentation into active control, active architecture, active module standard, build history, superseded, duplicate, and HTML mirror groups.

• Added v393 warning notes to old root README files, `NOTIFICATIONS_AND_MESSAGING_PLAN.md`, and `Project Documentation/Architecture/ARCHITECTURE_ROADMAP.md`.

• Updated `Project Documentation/Active/DISPATCH_SPOT_SUPERSEDED_GUIDANCE_REGISTER.md` with newly identified documentation conflicts.

• Updated `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md`, `Project Documentation/Active/DISPATCH_SPOT_DOCUMENTATION_SOURCE_OF_TRUTH.md`, the current operating manual, migration plan, previous-chat requirements register, project handoff, and architecture index.

• No product UI changes.

• No Prisma schema changes.

v392 - Current operating manual and documentation folder foundation

• Reviewed v391 documentation consolidation audit and confirmed documentation bloat remains a real process risk.

• Created the controlled `Project Documentation/` folder.

• Added `Project Documentation/00_CURRENT_OPERATING_MANUAL.md` and `.html` to consolidate build procedure, placement rules, documentation precedence, package naming, WHM command format, Rule Check format, and next-prompt format.

• Added `Project Documentation/01_PREVIOUS_CHAT_REQUIREMENTS_REGISTER.md` and `.html` to capture important requirements from previous Dispatch Spot chats and compare them against current documentation.

• Added `Project Documentation/02_DOCUMENTATION_MIGRATION_PLAN.md` and `.html` to plan safe root documentation cleanup over the next build cycles.

• Updated `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md` with the Current Operating Manual Rule, Project Documentation Folder Rule, Previous Chat Requirements Rule, and expanded Rule Check requirement.

• Updated `Project Documentation/Active/DISPATCH_SPOT_DOCUMENTATION_SOURCE_OF_TRUTH.md` and `.html` with the v392 documentation folder and reading-order changes.

• Updated `Project Documentation/Active/DISPATCH_SPOT_SUPERSEDED_GUIDANCE_REGISTER.md` and `.html` to clarify that flat root documentation is no longer equally authoritative.

• Updated `DEVELOPMENT_PROTOCOL.md` with the active v392 protocol block.

• No product UI changes.

• No Prisma schema changes.

v391 - Documentation consolidation audit and source-of-truth structure

• Reviewed v390 notification settings relocation and confirmed the remaining problem was documentation drift, not the v390 UI correction.

• Added `Project Documentation/Active/DISPATCH_SPOT_DOCUMENTATION_SOURCE_OF_TRUTH.md` and `.html` to define the active documentation reading order and conflict-resolution hierarchy.

• Added `Project Documentation/Active/DISPATCH_SPOT_SUPERSEDED_GUIDANCE_REGISTER.md` and `.html` to prevent older build notes from overriding current placement decisions.

• Added `DISPATCH_SPOT_DOCUMENTATION_CONSOLIDATION_AUDIT_V391.md` and `.html` to record audit findings and the next cleanup direction.

• Updated `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md` with the Documentation Source-of-Truth Rule and corrected late-section numbering drift.

• Updated `DEVELOPMENT_PROTOCOL.md` with a current active v391 protocol block and visible-unzip packaging reminder.

• Marked known superseded placement guidance in the v383 notification preferences, v385 urgent text opt-in, and v366 CORI Mail SMTP setup documents.

• No product UI changes.

• No Prisma schema changes.

v377 - High-use surface cleanup

v381 Cleanup closeout and build preflight guard

• Closed the broad cleanup cycle unless future live UI feedback identifies a specific confusing page.

• Added `scripts/dispatchspot-build-preflight.mjs` to check missing local source imports before TypeScript and Next build.

• Added `npm run dispatchspot:preflight` to `package.json`.

• Added the Build Preflight Guard Rule to `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md`.

• Updated handoff/protocol documentation so future WHM build commands run preflight first.

• Prisma schema impact: none.

• Reviewed `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md` before building and continued the cleanup cycle across CORI Briefing, Dispatch Board, Paperwork, Billing Records, and CORI pages.

• Cleaned CORI Briefing by replacing roadmap-style email language with a simple Email Follow-Up section pointing to CORI Mail.

• Renamed briefing wording from Documents and Compliance to Paperwork and Check Docs to Check Paperwork.

• Simplified Dispatch Board header language and changed New Load to Add Load.

• Simplified Paperwork page labels such as Files to link, Fast fix, New paperwork file, and Missing paperwork for this load.

• Simplified Billing Records wording around unpaid loads, payment follow-up, unpaid amount, and paid loads.

• Kept CORI Mail focused on important email, suggested replies, work cards, and review before send while keeping setup in Workspace Settings.

• Removed internal simplification-review and roadmap-style notes from the extra call tools user page.

• Added `DISPATCH_SPOT_HIGH_USE_SURFACE_CLEANUP_V377.md` and `.html`.

• Updated `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md` with the High-Use Work Surface Cleanup Rule.

• No Prisma schema changes.

v375.1 - Detail Page Import Build Fix

• Fixed missing cleanup component aliases used by v375 detail pages.

• Added the missing paperwork-check component bridge.

• Preserved the v375 detail-page cleanup and simple wording direction.

• No Prisma schema changes.

v371 - Page cleanup and navigation simplification

• Reviewed `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md` before building and continued the Page Usefulness cleanup cycle.

• Removed Reports Hub, Load Board, Intelligence, reporting subpages, and Workspace Administration from normal sidebar navigation.

• Retired `/load-board` from the app shell because the future spot-market load board will be built externally on the main domain.

• Redirected retired pages to simpler destinations: `/load-board` to `/loads`, `/intelligence` to `/crm`, `/reports` to `/dashboard`, `/reports/dispatch` to `/dispatch`, `/reports/loads` to `/loads`, `/reports/finance` to `/cori/financial`, `/reports/crm` to `/crm`, and `/workspaces` to `/company` or `/admin/workspaces` based on user type.

• Updated the left sidebar so the normal app is simpler and only shows Ask CORI, Operations, People & Assets, CRM & Partners, and Workspace.

• Updated `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md` with a Retired Page Rule so removed pages do not drift back into normal navigation without a clear approved job.

• Added `DISPATCH_SPOT_PAGE_CLEANUP_NAVIGATION_SIMPLIFICATION_V371.md` and `.html`.

• No Prisma schema changes.

v370 - Surface cleanup audit and Notification Center removal

• Reviewed `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md` before building.

• Started the page-by-page cleanup phase with `DISPATCH_SPOT_SURFACE_CLEANUP_AUDIT_V370.md` and `.html`.

• Removed **Notification Center** from the normal left sidebar.

• Replaced `/notifications` with a redirect to `/dashboard` so users do not land on a confusing notification/governance workspace.

• Updated `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md` with a Page Usefulness Rule.

• Preserved existing notification APIs and backend groundwork for a later clean app-style notification rebuild.

• No Prisma schema changes.

v369 - Dispatch Spot build rules and CORI Mail settings cleanup

• Paused feature expansion to correct process drift and enforce already-decided UI simplicity rules.

• Added `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md` as the required working memory file to review before every future build cycle.

• Updated development and handoff documentation so future builds must include a Rule Check section.

• Removed SMTP credential entry from the CORI Mail user surface.

• Kept company email/SMTP setup in `/company/integrations` under the Email tab.

• Cleaned CORI Mail wording so it remains focused on email briefing, suggested replies, draft review, work-card preparation, and guarded send approval.

• No Prisma schema changes.

Changelog

v368 — CORI Mail Custom SMTP testing and guarded send preparation

• Added server-side Custom SMTP connection testing for saved Workspace Integration provider accounts.

• Added encrypted-secret decrypt support so saved SMTP credentials can be tested on the server without exposing passwords in the browser.

• Added `/api/workspace-integrations/provider-accounts/[id]/test` for admin-only SMTP account tests.

• Updated `/company/integrations` so Custom SMTP accounts can be tested from the Email tab and show last credential check time.

• Updated `/cori/mail` wording so users save and test custom domain email through Workspace Integrations before live send is enabled.

• Preserved the user-approval rule: CORI can prepare drafts, but real sending remains locked until explicit approval and provider send execution are wired.

• Prisma schema impact: none.

Changelog

v367.1 - CORI Mail Prisma JSON build fix

• Fixed the v367 TypeScript build error caused by passing raw `Record<string, unknown>` values into Prisma JSON fields.

• Added Prisma-safe JSON sanitation for CORI Mail work-action preview JSON.

• Added Prisma-safe JSON sanitation for Workspace Integration public configuration JSON.

• Preserved all v367 schema-backed CORI Mail and Workspace Integrations behavior.

• Added `CORI_MAIL_SCHEMA_JSON_BUILD_FIX_V367_1.md` and `CORI_MAIL_SCHEMA_JSON_BUILD_FIX_V367_1.html`.

• No new Prisma schema changes beyond v367.

v367 - CORI Mail schema-backed storage and Workspace Integrations foundation

• Reviewed v366 CORI Mail custom domain SMTP and storage readiness.

• Continued the CORI Mail deepening track instead of moving to another operational surface.

• Added Prisma schema support for workspace integration provider accounts.

• Added Prisma schema support for persistent CORI Mail drafts, email-to-work actions, and send audit records.

• Added encrypted secret payload support for provider credentials and API secrets.

• Added backend services and API routes for workspace integration overview, provider account save/list, CORI Mail memory summary, draft persistence, work-action persistence, and send-audit staging.

• Added new Workspace Settings page: `/company/integrations`.

• Added Workspace sidebar item: **Third-Party Integrations**.

• Added integration tabs for Email, Google Maps API, Twilio, QuickBooks API, Stripe Connect, and Other APIs.

• Added custom domain SMTP setup inside the integrations page for company email addresses.

• Updated `/cori/mail` with schema-backed memory cards for provider accounts, stored drafts, work cards, and send records.

• Added direct link from CORI Mail to Workspace Integrations.

• Added new integration environment placeholders to `.env.example`.

• Added `CORI_MAIL_SCHEMA_BACKED_INTEGRATIONS_V367.md` and `CORI_MAIL_SCHEMA_BACKED_INTEGRATIONS_V367.html`.

• Includes Prisma schema changes and requires `npx prisma generate` and `npx prisma db push` before TypeScript and Next build checks.

v366 - CORI Mail custom domain and storage readiness

• Reviewed v365 CORI Mail provider, draft, and work-conversion foundation.

• Decided to continue deepening CORI Mail before moving to another operational surface.

• Added Custom Domain SMTP as a third provider path beside Gmail and Outlook.

• Added a visible `/cori/mail` SMTP setup panel so users can enter their own domain email details.

• SMTP setup supports from email, display name, SMTP host, port, username, app password, STARTTLS/SSL mode, and IMAP host for future inbox reading.

• Added safe staging behavior that does not store real SMTP passwords in browser memory.

• Expanded provider readiness service to include custom SMTP, encrypted secret vault readiness, and persistent draft/action/send-audit planning.

• Added persistent CORI Mail memory guidance for drafts, work cards, provider tokens, and send history.

• Added custom-domain CORI Mail environment placeholders to `.env.example`.

• Added `CORI_MAIL_CUSTOM_DOMAIN_STORAGE_READINESS_V366.md` and `CORI_MAIL_CUSTOM_DOMAIN_STORAGE_READINESS_V366.html`.

• No Prisma schema changes.

v365 - CORI Mail provider, draft, and work-conversion foundation

• Deepened `/cori/mail` after the v364 CORI Mail interface foundation.

• Added visible Gmail and Outlook provider connection planning cards for inbox read, draft create, and user-approved send.

• Added browser draft memory for CORI Mail draft persistence foundation.

• Added staged provider-draft behavior so local draft review and future real mailbox draft creation are clearly separated.

• Added email-to-work conversion previews for load notes, follow-up tasks, billing notes, driver updates, detention notes, and sales leads.

• Added `src/modules/cori-mail/cori-mail-provider-readiness.service.ts`.

• Added `/api/cori-mail/provider-readiness`.

• Added CORI Mail provider environment placeholders to `.env.example`.

• No Prisma schema changes.

v364 - CORI Mail AI email assistant foundation

• Reviewed v363 CORI Financial readability/detail refinement.

• Decided to move from CORI Financial into the next high-use CORI-first operational surface: **CORI Mail**.

• Added `/cori/mail` as a new Ask CORI page for email briefing, safe suggested replies, and user-approved send controls.

• Added **CORI Mail** to the left sidebar under the **Ask CORI** section.

• Updated topbar/page context wording for `/cori/mail`.

• Built the first CORI Mail user interface with:

- plain CORI email briefing

- most important emails first

- money, paperwork, driver, and sales lanes

- selected-email plain read

- linked work context

- suggested answer editor

- simple reply tone controls

- Ask CORI Mail command box

- guarded send state so CORI prepares email but does not send without user approval

• Added provider connection readiness language for Gmail/Outlook OAuth without claiming the real provider integration is live.

• Preserved simple language for grade-5-level end users while establishing a future-proof AI email workflow.

• Added `CORI_MAIL_AI_EMAIL_ASSISTANT_FOUNDATION_V364.md` and `CORI_MAIL_AI_EMAIL_ASSISTANT_FOUNDATION_V364.html`.

• No Prisma schema changes were made.

v363 - CORI Financial readability and detail refinement

• Reviewed v362 CORI Briefing sidebar rename and CORI Financial foundation.

• Decided to refine CORI Financial readability/detail quality first before moving to another high-use operational surface.

• Reworked `/cori/financial` into a clearer AI briefing flow: top money cards, plain CORI read, best next money move, P&L overview, needs-attention-first cards, truck-by-truck briefing, load details, and final role-aware earnings read.

• Added simple P&L language: money in, money out, and what is left.

• Added a `Needs attention first` section so CORI highlights trucks losing money, largest unpaid loads, and large open truck balances before the user hunts through the page.

• Added per-truck `What CORI would check next` action guidance in simple language.

• Expanded load detail under each truck with load number, broker/customer, route, driver, pickup date, delivery date, status, income, paid amount, and open balance.

• Added direct links from CORI Financial to truck records, truck money pages, and load records.

• Preserved the final role-aware read: **Total Dispatcher earnings** for dispatcher users and **Total Fleet earnings** for company/admin users.

• Added `CORI_FINANCIAL_READABILITY_DETAIL_REFINEMENT_V363.md` and `CORI_FINANCIAL_READABILITY_DETAIL_REFINEMENT_V363.html`.

• No Prisma schema changes were made.

v362 - CORI Financial briefing and Ask CORI sidebar foundation

• Reviewed v361 and continued the CORI-first interface direction.

• Changed the left sidebar so `/dashboard` now appears as **CORI Briefing** instead of **Dashboard**.

• Moved **CORI Briefing** into the sidebar's **Ask CORI** section.

• Added **CORI Financial** to the **Ask CORI** sidebar section.

• Added a new `/cori/financial` page with a plain financial briefing covering profit and loss overview, income vs expenses, open balance, truck-by-truck financial results, load-level money notes, and a final role-aware earnings read.

• The final CORI Financial read now shows **Total Dispatcher earnings** for dispatcher users and **Total Fleet earnings** for company/admin users.

• Updated topbar wording so `/dashboard` is treated as **CORI Briefing**, not a generic dashboard.

• Added `CORI_FINANCIAL_BRIEFING_FOUNDATION_V362.md` and `CORI_FINANCIAL_BRIEFING_FOUNDATION_V362.html` as the v362 financial briefing notes.

• No Prisma schema changes were made.

v361 - CORI Briefing natural-language refinement foundation

• Refined CORI Briefing output so trucks, loads, drivers, customers, documents, and billing records are fully identified on first mention and then referenced naturally afterward.

• Reduced repetitive copy-paste style detail blocks in later briefing sections by introducing concise record references such as `Truck #152 from 123 Carrier`, `Truck #152 with Marcus James`, and `Load #1234 from ABC Logistics to Newark, NJ` after the full details have already appeared.

• Updated the active truck briefing language so the first active-truck list remains complete, while later truck sections use natural executive-assistant references instead of repeating equipment, driver, and status details in full.

• Updated moving-load and route/weather briefing sections so the first moving-load mention remains detailed, while later movement and route references are shorter and easier to read.

• Updated billing and priority sections to reference invoice-ready loads naturally after the documents/compliance section has already introduced the full load context.

• Preserved the rule that CORI Briefing must remain specific enough that users do not need to ask which truck, load, customer, document, or issue is being discussed.

• Updated `Project Documentation/Active/Module Standards/CORI_BRIEFING_OUTPUT_STANDARD.md` with first-mention versus later-mention rules and repetition-control guidance.

• No Prisma schema changes were made.

v360 - CORI Briefing persistence, settings, and detailed output standard foundation

• Added server-side CORI Briefing persistence so each workspace can maintain daily briefing conversation records instead of relying only on browser/session state.

• Added persisted CORI Briefing preference support with a configurable business-day start time, defaulting to 6:00 AM.

• Added daily CORI Briefing conversation and message records so the current day stays active and past days are preserved as read-only briefing history.

• Added `/api/cori-briefing` so the dashboard can load briefing state, update the business-day start time, save the current briefing snapshot, and append current-day briefing conversation messages.

• Updated `/dashboard` so the CORI Briefing loads and saves briefing day state from the server while keeping `/cori` as the separate general-purpose Ask CORI surface.

• Upgraded the CORI Briefing output standard so summary counts now immediately list the exact trucks, loads, drivers, customers, statuses, timings, and next actions involved wherever the available data supports it.

• Added exact active-truck detail under active-truck totals, including truck number, equipment details, driver link, and status.

• Added exact in-transit load detail under moving-load totals, including load number, broker/customer, origin, destination, truck, driver, status, pickup time, delivery time, current read, and next action.

• Added exact next-load continuity, document, billing, dispatch alert, and follow-up details instead of vague summary-only lines.

• Added `Project Documentation/Active/Module Standards/CORI_BRIEFING_OUTPUT_STANDARD.md` as the living rulebook for detailed executive briefing output, including the rule that if a user must ask “which truck/load/customer?” then the briefing failed.

• Added Prisma schema changes for CORI Briefing preferences, daily conversations, and messages.

v358 - CORI and call surface simplification continuation

v359 - CORI Briefing dashboard foundation

• Transformed `/dashboard` from a static metrics-heavy Dispatch Home into a full **CORI Briefing** interface.

• Preserved `/cori` as the separate general-purpose Ask CORI surface.

• Added a daily briefing conversation model with a current active day and read-only past briefing list.

• Added a user-controlled business-day start time concept, defaulting to 6:00 AM.

• Replaced hardcoded dashboard panels with a structured executive assistant-style briefing covering executive summary, recent changes, dispatch operations, trucks/drivers, loads in motion, route/weather risk, documents/compliance, billing/cash flow, broker/customer/carrier follow-up, important email placeholder, recommended priorities, and CORI-enabled action guidance.

• Added direct next-action links from the briefing to Dispatch, Loads, Trucks, Routes, Documents, Billing, and Notifications.

• Added a full Ask CORI-style input area for the current day’s briefing conversation while making past briefing days read-only.

• Kept deeper raw metrics and review detail in Reports and Super Admin rather than the normal user dashboard.

• Continued cleaning CORI, Call Copilot, quote-call, and live-call user-facing surfaces.

• Renamed the call note area to `Ask CORI` so the same label can become the standard signal for user-to-CORI input spaces.

• Gave the Ask CORI note box a soft blue treatment so users recognize it as a CORI interaction area.

• Replaced native browser tooltip behavior with larger white help popovers that are easier to read than small black title bubbles.

• Simplified visible call language from technical call-engine wording to familiar phone and dialer terms.

• Cleaned remaining user-facing Loads page advanced wording from build/review language into simpler everyday labels.

• Kept readiness, review, and platform-monitoring detail out of normal user surfaces and reserved that depth for Super Admin.

v357 - User-facing dispatch workflow refinement foundation

• Continued the user-facing simplification track requested after v356.

• Refined the Dispatch page so the daily surface focuses on moving the next load instead of showing several operational metrics and review panels.

• Reworked the Dispatch page command card around one primary action path: select a load, confirm truck/driver context, and move the load forward.

• Simplified the CORI Call Copilot page title and introduction from development-language wording to a familiar call workflow: pick a contact, press Call, keep notes, and use CORI for the next line.

• Removed visible technical/development labels from the normal Call Copilot user view, including Page, Popup, Runtime Review, Live Listening Plan, Normalized Live Contract, Partial Fact State Model, and Live Call Readiness.

• Kept the useful call tools visible: phone book, call purpose, call facts, things to watch, what to say next, call note, call result, phone, and keypad.

• Added small question-mark help buttons/tooltips to clarify user actions without keeping long instructions on the screen.

• Renamed visible call links from Open Call Page to Call so the app feels more familiar and less technical.

• Preserved deeper monitoring and development-review detail in Super Admin/build-review surfaces instead of normal dispatcher/admin pages.

• No Prisma schema changes were made.

v356 - Super Admin operational monitoring deepening foundation

• Deepened the Super Admin AI Operations Review page after the Workspace Admin and dispatcher simplification passes.

• Strengthened `/admin/workspaces/operations` with clearer Super Admin visibility for dashboard health, load flow, document blockers, billing blockers, dispatch next actions, route/load/driver readiness, team coverage, CORI guidance, and user-facing simplicity checks.

• Added an operational command summary so Super Admin can see the next action and overall workspace operating posture without using Workspace Admin as the review surface.

• Added focused review cards for load flow, document blockers, billing blockers, dispatch next action, route/driver readiness, and team coverage.

• Updated Build Review detail to confirm that v356 monitoring depth stays in Super Admin and does not return review clutter to Workspace Admin or dispatcher pages.

• Kept Workspace Admin and dispatcher-facing pages clean and operational.

• No Prisma schema changes were made.

v355 - Continued user-facing workspace simplification foundation

• Continued simplifying normal Workspace Admin and dispatcher-facing pages after the v354 UI/UX correction pass.

• Simplified the Loads page header to the daily-use actions: Ask CORI, Dispatch Board, and New Load.

• Reworded the Loads page around one simple purpose: find the load that needs work, then open the record.

• Removed the visible Loads daily KPI/review block from the normal page and replaced the upper workspace handoff area with a single first-action card plus a simple load-flow view.

• Reduced Documents page continuity/review clutter by removing the default handoff and quick-action panels from the normal user view.

• Added a plain Documents first-action card focused on opening the first document blocker or asking CORI only when needed.

• Simplified Billing by removing default handoff/quick-action panels and the large dispatcher-service Stripe explanation from the daily billing surface.

• Added a simpler Billing first-action card focused on sending invoices first, then chasing unpaid loads, while keeping dispatcher-service Stripe setup on its own focused page.

• Preserved Super Admin as the deeper review/control area for readiness, subscription, billing, operational review, and support detail.

• No Prisma schema changes were made.

v354 - Workspace Admin and dispatcher operational simplicity foundation

• Reduced normal dispatcher-facing Dispatch page clutter by hiding review/support/reporting panels from the default user view.

• Kept deeper dispatch review surfaces available in code for Super Admin/build review paths instead of forcing them into the daily dispatcher scan.

• Simplified the Dispatch page header actions to the daily-use path: Ask CORI, Loads, and New Load.

• Reworded the Dispatch summary around one clear instruction: work the board first, then use support pages only when needed.

• Added a short CORI direction card on the Dispatch page so operators get one plain next-action cue instead of several competing review blocks.

• Simplified Workspace Admin Company Settings with a clean settings map for company profile, team access, business phone, and security.

• Hid the older WorkspaceAdminPath helper from the normal Company Settings view so daily admins see a cleaner user-ready page.

• Preserved Super Admin as the deeper readiness and build-review surface while keeping Workspace Admin and dispatcher screens operational.

v353 - Core AI operations return foundation

• Paused further Stripe and billing expansion after the separated platform-subscription and dispatcher-service billing foundations.

• Added a Super Admin AI Operations Review page at `/admin/workspaces/operations`.

• Added `AI Operations Review` to the Super Admin Workspace Control menu.

• Added a CORI operations review surface that highlights first fix guidance, dispatch workflow health, route/load/driver readiness, and user-facing simplicity.

• Kept deeper operational review in Super Admin while Workspace Admin and dispatcher-facing pages remain clean and operational.

• Changed the Super Admin operations view so it does not automatically pull Stripe readiness, Stripe scaffold, Stripe sync review, Stripe webhook, add-on, subscription, or entitlement tooling into the core operations review path.

• Preserved Build Review detail inside Super Admin only.

• No Prisma schema changes were made.

v352 - Workspace Admin dispatcher-service Stripe setup foundation

• Added a clean Workspace Admin dispatcher-service Stripe setup page at `/billing/dispatcher-services`.

• Added `Dispatcher Billing Setup` to Workspace Admin navigation so billing setup can live on a focused subpage instead of adding more clutter to the main Billing page.

• Clarified that dispatcher-service Stripe billing is separate from Super Admin platform subscriptions.

• Staged service billing readiness for monthly dispatch retainers, percentage-based dispatch fees, setup fees, and future carrier service add-ons.

• Kept broker and shipper receivables aligned with factoring or Net 30 payment workflows instead of Stripe.

• Kept live Stripe charges, checkout, customer portal, payment collection, and broker/shipper Stripe billing disabled.

• Kept Super Admin platform billing unchanged in this build.

v351 - Stripe billing direction correction and dispatcher-service Stripe separation foundation

• Corrected the Stripe build direction so webhook testing infrastructure does not continue expanding as the main roadmap track.

• Added a simple Super Admin platform billing setup page at `/admin/platform-billing` that explains the practical billing setup path: create plans, assign plans to workspaces, check Stripe readiness, and run safe test setup.

• Added `Platform Billing Setup` to the Super Admin Platform Setup menu.

• Re-labeled Stripe webhook review as a support/event-log surface instead of the main Stripe workflow.

• Added the first Workspace Admin billing-page planning surface explaining that dispatcher-service Stripe billing will be separate from Dispatch Spot platform subscriptions.

• Clarified the three billing paths: Super Admin platform subscriptions use Stripe, Workspace Admin dispatcher-service billing will use a separate future Stripe path to bill carriers, and carrier/company broker-shipper receivables stay factoring or Net 30.

• Kept Workspace Admin free of live Stripe controls, checkout, payment collection, customer portal, add-ons, and charges.

v350 - Stripe webhook event log persistence foundation

• Added database-backed Stripe platform webhook event logging for platform subscription test events.

• Added `StripePlatformWebhookEventLog` to Prisma so Super Admin can review durable Stripe event history instead of relying only on the latest workspace subscription status.

• Added `/api/subscriptions/stripe-test/webhook-events` as a Super Admin-only API for recent webhook event review.

• Updated Stripe webhook handling so supported, unsupported, unmatched, ignored live-mode, missing-ID, handled, and verification-failed events are persisted where possible.

• Persisted event details include event type, event ID, live/test mode, signature verification status, matched workspace subscription, provider sync outcome, workspace subscription status, error notes, first fix guidance, and received timestamp.

• Updated `/admin/stripe-webhooks` with a recent persisted webhook event review section and refresh action.

• Kept Workspace Admin clean and did not expose Stripe controls outside Super Admin.

• No live billing, checkout, customer portal, payment method collection, invoice payment, add-ons, or charges were enabled.

v349 - Stripe webhook test-event handling foundation for platform subscriptions

• Added Super Admin-only Stripe webhook test-event handling for platform subscriptions.

• Added `/api/subscriptions/stripe-test/webhook` so Dispatch Spot can receive safe Stripe test events and verify webhook signatures when `STRIPE_WEBHOOK_SECRET` is configured.

• Added `/admin/stripe-webhooks` so Super Admin can review webhook readiness, saved customer/subscription IDs, provider sync status, last sync time, and recent provider event notes.

• Supported safe test events for `customer.subscription.created`, `customer.subscription.updated`, `customer.subscription.deleted`, `invoice.payment_succeeded`, and `invoice.payment_failed`.

• Matching is based on saved Stripe customer ID or subscription ID on `WorkspaceSubscription`.

• Test webhook handling can update provider sync status, workspace subscription status, provider note, and last provider sync timestamp.

• Live Stripe events are ignored during this readiness phase.

• No checkout, customer portal, payment collection, add-on change, live billing action, invoice payment, or charge was enabled.

• Workspace Admin remains clean with no Stripe controls exposed outside Super Admin.

v347 - Controlled Stripe test-mode subscription creation foundation

• Added Super Admin-only controlled Stripe test-mode subscription creation for platform subscriptions.

• Added `/api/subscriptions/stripe-test/subscription` so Super Admin can create a Stripe test subscription for a selected workspace after a test customer and monthly Stripe price ID are ready.

• Extended `src/modules/subscriptions/stripe-platform.service.ts` with `createTestSubscriptionForWorkspace`, keeping Stripe platform subscription behavior isolated from Workspace Admin dispatcher-service billing.

• The action is blocked unless Stripe test mode is configured, the selected workspace has a workspace subscription assignment, the workspace subscription has a `cus_` Stripe test customer ID, and the selected plan has a `price_` monthly Stripe price ID.

• The action stores the resulting Stripe test subscription ID and subscription item ID on the workspace subscription and marks provider sync as Synced.

• The test subscription uses Stripe test mode and `send_invoice` collection behavior to avoid checkout, customer portal, payment method collection, and live charges.

• Updated `/admin/stripe-scaffold` with a `Create Stripe test subscription` button and clearer safety language.

• Kept Workspace Admin clean with no Stripe controls exposed outside Super Admin.

v346 - Controlled Stripe SDK test-mode customer creation foundation

• Added the Stripe Node SDK dependency for Super Admin platform subscription testing. The current npm package listing identifies Stripe's Node wrapper as the Stripe API wrapper and shows `stripe` as the package to install for Node projects. The project pins `stripe` at `^22.0.2` for this controlled test-mode customer creation track.

• Added `src/modules/subscriptions/stripe-platform.service.ts` to isolate Super Admin platform-billing Stripe behavior from Workspace Admin dispatcher-service billing.

• Added `/api/subscriptions/stripe-test/customer` as a Super Admin-only API endpoint for creating or confirming a Stripe test customer for a selected workspace.

• The new Stripe action is blocked unless `STRIPE_SECRET_KEY` is present, the key starts with `sk_test_`, and `STRIPE_PLATFORM_BILLING_TEST_MODE` is not set to `false`.

• The action creates only a Stripe test customer and stores the resulting `cus_` ID on the workspace subscription.

• The action updates workspace subscription billing state to Stripe/Test and provider sync to Ready or Synced depending on whether a subscription ID is already stored.

• No checkout session, customer portal session, subscription, invoice, payment method, or charge is created.

• Updated the Super Admin Stripe Test Scaffold page so Super Admin can create a Stripe test customer directly from `/admin/stripe-scaffold`, then keep using the existing manual scaffold fields for subscription IDs later.

• Kept Workspace Admin clean and did not expose Stripe controls to normal workspace users.

v345 - Stripe test-mode customer and subscription creation scaffolding

• Added a Super Admin-only Stripe Test Scaffold page at `/admin/stripe-scaffold`.

• Added the page to the Super Admin Platform Setup menu as `Stripe Test Scaffold`.

• Added readiness checks for Stripe test mode, selected plan monthly Stripe price ID, and selected workspace test customer ID.

• Added safe customer and subscription payload previews so Super Admin can see what will later be sent to Stripe before live API calls are enabled.

• Added manual test-ID storage fields for Stripe test customer ID, Stripe test subscription ID, and Stripe test subscription item ID.

• Saving the scaffold records manually confirmed test-mode identifiers on the workspace subscription and marks the provider path as Stripe/Test without creating Stripe customers, checkout sessions, subscriptions, invoices, payment methods, or charges.

• Preserved the required billing separation: Super Admin platform subscriptions use this Stripe path, Workspace Admin dispatcher-service billing will use a separate future Stripe path to bill carriers, and carrier/company billing to brokers or shippers remains factoring or Net 30 based.

• Kept Workspace Admin clean; no Stripe controls were exposed outside Super Admin.

v344 - Stripe test-mode integration readiness for platform subscriptions

• Added Super Admin Stripe readiness visibility for platform subscription billing inside /admin.

• Added /admin/stripe-readiness so Super Admin can review Stripe configuration state, test/live mode signal, plan Stripe product and price ID readiness, workspace Stripe customer/subscription ID readiness, and provider sync status.

• Added /api/subscriptions/stripe-readiness to report safe Stripe environment readiness without exposing secrets to the browser.

• Confirmed this version is readiness-only: it does not create Stripe customers, checkout sessions, portal sessions, subscriptions, invoices, or charges.

• Preserved the billing separation: Super Admin platform subscriptions prepare for Stripe, Workspace Admin dispatcher service billing will use a separate future Stripe path to bill carriers, and carrier/company billing to brokers or shippers remains factoring or Net 30 based.

• Kept Workspace Admin clean with no customer-facing billing controls or live charging.

v343.1 - Stripe-ready subscription enum typing correction

• Fixed the v343 TypeScript build failure in `src/modules/subscriptions/subscription.service.ts`.

• Added explicit database enum return types for subscription plan status, billing provider, billing mode, and provider sync status mapping helpers.

• Preserved the v343 Stripe-ready billing provider fields and Super Admin subscription setup behavior.

• No Prisma schema changes were added beyond the existing v343 schema changes.

Dispatch Spot Changelog

This is the primary version history for Dispatch Spot. Root-level per-version handoff files have been archived so this changelog remains the main project-history file.

Changelog coverage note

• Current consolidated source archive contains 280 version entries through v342.1.

• Some early legacy versions and a small number of intermediate corrective builds were not present as retained handoff files in the uploaded server folder. Those gaps are preserved as a reconstruction task instead of being guessed.

• Known unrecovered top-level version numbers from v1-v342: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 20, 49, 50, 63, 64, 70, 71, 73, 74, 75, 77, 80, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 100, 101, 102, 103, 104, 105, 106, 117, 119, 121, 122, 125, 130, 134, 135, 136, 138, 141, 142, 145, 146, 147, 180, 183, 184, 195, 201, 207, 212, 228, 234, 267, 297, 299, 314, 316.

• Going forward, every build handoff should update this changelog directly instead of leaving separate handoff files in the document root.

v343 - Stripe-ready subscription billing fields foundation

• Added Stripe-ready billing provider fields to `SubscriptionPlan` so Super Admin can store the future Stripe product, monthly price, add-on price IDs, billing mode, provider sync status, and internal setup notes for platform subscription plans.

• Added Stripe-ready billing provider fields to `WorkspaceSubscription` so Super Admin can prepare workspace Stripe customer IDs, Stripe subscription IDs, subscription item IDs, billing provider status, billing mode, and sync readiness without enabling live charging.

• Updated Super Admin subscription plan management so Stripe product/price IDs are visible and editable from `/admin/subscriptions`.

• Updated Super Admin workspace subscription review so workspace-level Stripe setup fields are visible and editable from `/admin/workspaces/subscriptions`.

• Preserved the required billing separation: Super Admin platform subscriptions prepare for Stripe, Workspace Admin dispatcher service billing will use a separate future Stripe path to bill carriers, and carrier/company billing to brokers or shippers remains factoring or Net 30 based.

• Kept Workspace Admin clean; no live Stripe charging, payment collection, or customer-facing billing complexity was enabled in this version.

• Includes Prisma schema changes and requires `npx prisma generate` and `npx prisma db push` before the TypeScript and Next build checks.

v342.2 - Dependency lockfile sync and safe patch update capture

• Captured the server-verified safe dependency updates after the WHM checks passed cleanly.

• Updated canonical dependency ranges for `postcss` 8.5.10, `@tailwindcss/postcss` 4.2.4, `tailwindcss` 4.2.4, and `autoprefixer` 10.5.0.

• Confirmed the updated dependency set passed TypeScript checking and a full Next.js 15.5.15 production build on the server before continuing feature work.

• Deferred major dependency upgrade tracks for Prisma 5→7, Next 15→16, TypeScript 5→6, Zod 3→4, bcryptjs 2→3, and Node type definitions 22→25 because those require planned compatibility work instead of casual cleanup.

• Preserved the remaining audit note as a Next.js internal PostCSS dependency issue to revisit during the planned Next upgrade track; `npm audit fix --force` must not be used because it suggests an unsafe Next downgrade path.

• Did not change Prisma schema or application UI.

v342.1 - Canonical source sync, changelog consolidation, and root handoff archive cleanup

• Synced the working canonical source from the uploaded app.dispatchspot.com server folder so future work starts from the same dependency and file state as the deployed application.

• Archived root-level `dispatchspot_next_phase_handoff_v*.md/html` files into `docs_archive/handoffs/` so the document root stays cleaner.

• Consolidated `Project Documentation/Active/CHANGELOG.md` into the primary project history record and expanded recent subscription, entitlement, Super Admin, Build Review, and CORI admin entries.

• Preserved source dependencies in the working review copy for local TypeScript and Next.js checks, while keeping future source drop packages lean.

v342 - subscription add-on and usage billing readiness foundation

• Added Super Admin add-on billing readiness review.

• Added extra truck price support to subscription plans.

• Added add-on readiness evaluation for extra users/seats, trucks, phone numbers, and future feature add-ons.

• Added `/admin/workspaces/add-ons`.

• Preserved clean Workspace Admin surfaces.

v341 - Subscription limit-based create restrictions foundation

• Added reusable subscription service checks for plan-limited create actions.

• User creation now respects included user/seat limits and returns a clean upgrade-ready message when the plan limit is reached.

• Truck creation now respects included truck limits and blocks new trucks when the workspace has reached its included plan capacity.

• Business phone number saves now respect included phone-number limits and block additional numbers until Super Admin reviews the subscription.

• Updated subscription entitlement usage so phone-number counts come from workspace phone-system settings.

• Kept Super Admin as the detailed plan/limit review surface and kept Workspace Admin messages simple.

v340 - Selected Workspace Admin entitlement gating foundation

• Began wiring the shared subscription entitlement layer into selected Workspace Admin pages.

• Added a current-workspace entitlement API at `/api/subscription/entitlements` so logged-in workspace users can receive a clean plan-access decision for their workspace.

• Added a reusable `PlanFeatureGate` component that shows the normal page only when the workspace plan allows the feature.

• Added clean locked/upgrade-ready messages for Business phone, Route planning, Load board, Reports, Billing, Documents, and CORI when those features are not included or held by subscription status.

• Kept detailed allowed/blocked/over-limit diagnostics in Super Admin while keeping Workspace Admin messages simple and user-ready.

v339 - Shared subscription entitlement enforcement preparation

• Added shared entitlement evaluator for subscription plan access, limits, locked features, billing hold states, and enforcement readiness.

• Added Super Admin entitlement enforcement preview at /admin/workspaces/entitlements.

• Added /api/workspaces/[id]/entitlements for Super Admin entitlement snapshots.

• Kept Workspace Admin clean; no new customer-facing subscription panels were added.

v338 - Database-backed subscription plan persistence and workspace subscription assignment foundation

• Added persisted subscription plan and workspace subscription models to Prisma so subscription plans are now part of the core SaaS data layer.

• Added Super Admin subscription plan APIs for listing, creating, updating, and deleting saved plans.

• Added workspace subscription assignment API so Super Admin can assign a saved plan and subscription status to each workspace.

• Updated Super Admin subscription plan UI to save plans to the database instead of only staging them in the browser.

• Updated Super Admin workspace subscription review so saved plan assignments, limits, feature access, and over-limit signals are visible from `/admin/workspaces/subscriptions`.

• Kept Workspace Admin clean while preparing future Workspace Admin pages to be governed by shared plan entitlements.

v337 - Workspace subscription assignment and entitlement visibility foundation

• Added staged workspace subscription assignment visibility inside Super Admin workspace review.

• Added `/admin/workspaces/subscriptions` for Super Admin subscription and entitlement review by workspace.

• Added included vs over-limit usage signals for users/seats, trucks, and business phone numbers.

• Added staged feature access visibility for Dispatch, Documents, Billing, Notifications, Business phone, Route planning, Load board, Reports, and CORI.

• Kept Workspace Admin clean with no new customer-facing subscription clutter.

v336 - Super Admin Subscription Plan Foundation

• Added `/admin/subscriptions`.

• Added a staged plan list and plan editor.

• Added CRUD-ready browser-side controls to create, edit, duplicate, and delete plan drafts.

• Added included limits for users, trucks, and business phone numbers.

• Added add-on pricing preparation for extra users/seats and extra business phone numbers.

• Added feature access switches for dispatch, documents, billing, notifications, business phone, route planning, load board, reports, and CORI.

• Added a reusable subscription entitlement foundation at `src/modules/subscriptions/subscription-entitlements.ts`.

• Updated Super Admin sidebar with `Subscription Plans` under Platform Setup.

v335 - Super Admin workspace operations sync foundation

• Added clearer Super Admin workspace operations pages for identity, team and roles, dispatch readiness, documents/compliance, and billing/payments.

• Expanded Super Admin workspace readiness sync across profile, users, dispatcher coverage, phone setup, dispatch workflow, documents, billing, notifications, and CORI next action.

• Kept Build Review detail in Super Admin and kept Workspace Admin cleaner by default.

v334 - Super Admin workspace readiness sync foundation

• Continued syncing Workspace Admin readiness surfaces into Super Admin.

• Split Super Admin workspace control into cleaner page paths for readiness, creation, roster, and business phone review.

• Added dispatcher coverage and business phone setup readiness to the Super Admin workspace preview.

• Kept Build Review as a Super Admin-only review tool.

• Preserved Workspace Admin as the cleaner user-ready interface by default.

v333 - Build Review mode and Super Admin workspace control foundation

• Kept Super Admin inside the existing `/admin` area and started making it directly functional for workspace oversight instead of moving it to a separate subdomain.

• Added a Super Admin Build Review toggle in the admin header so development/review detail can be shown in Super Admin without cluttering Workspace Admin.

• Added a Workspace Admin Preview area in `/admin/workspaces` so Super Admin can inspect workspace readiness, first fix, next action, activation status, admins, users, loads, and build-review detail from one place.

• Hid recent Workspace Admin review-heavy CORI command center, launch checklist, guided setup detail, and admin phone test detail from normal Workspace Admin by default so the customer-facing admin page stays cleaner.

• Established the forward rule that Super Admin visibility/control must be developed alongside Workspace Admin improvements.

v332 - AI admin guided setup actions foundation

• Added guided setup action cards inside the CORI admin command center on Company Settings.

• Added direct admin buttons for company profile, users and roles, dispatcher coverage, business phone setup, dispatch workflow readiness, and safe launch review.

• Kept the command center admin-only so normal dispatchers are not exposed to setup complexity.

v331 - Broader AI Admin Command Center Foundation

• Added an admin-only CORI admin command center preview to Company Settings.

• Summari

v330 - CORI-guided admin launch checklist foundation

• Added an admin-only CORI workspace launch check to Company Settings.

• Expanded setup guidance beyond phone-only readiness into company profile, users and roles, dispatcher coverage, business phone setup, and dispatch workflow readiness.

• Added first recommended fix and safe launch note cards so admins can see what to do before live operation.

• Preserved simple operator-facing surfaces by keeping launch-readiness detail in the admin workspace settings area.

v329

1. Added CORI-style guidance to each admin business phone readiness check.

2. Added a whole-panel CORI setup recommendation.

3. Added a first-fix card so admins can see the most important correction first.

4. Added a safe test script for controlled inbound extension, fallback, and outbound caller ID testing.

5. Updated root documentation for v329.

v328 - broader telephony admin testability hardening foundation

1. Added a plain-language Admin business phone test panel.

2. Added five simple test questions:

- Can this workspace receive business calls?

- Can calls reach the right dispatcher?

- Will calls fall back safely?

- Will outbound calls show the right business identity?

- Is managed-platform readiness safe enough?

3. Added Ready / Check / Blocked status chips for each test.

4. Added simple fix/test guidance for each test item.

5. Preserved the deeper business phone behavior review and inbound runtime review below the simplified test panel.

v327

• Hardened the unified business telephony platform review with managed-platform readiness, identity alignment, and platform continuity warnings so admins can see whether the workspace is cohesive enough for broader managed phone expansion.

v326

• Expanded the unified business telephony platform layer with managed platform identity, service handoff continuity, and workspace telephony ownership so admins can judge whether Dispatch Spot is moving from coordinated telephony into a more complete managed business phone platform.

v325

• Hardened the broader business telephony platform layer with platform readiness, service alignment, and unified platform warning review so admins can see when wider telephony should stay guarded before further expansion.

v324 - Unified business telephony platform expansion foundation

• widened business-phone review with platform call path, inbound/outbound unity, and number service posture

• expanded admin-safe telephony checks to reflect broader unified business-phone behavior

• preserved clean operator surfaces while broadening workspace telephony readiness review

v323

• Broadened the business-phone review with shared workspace identity, inbound-to-active bridge posture, and workspace call coverage so admins can judge whether Dispatch Spot is widening from a staged telephony foundation into a more complete coordinated phone platform.

v322

• Hardened unified workspace telephony readiness with unified readiness, continuity risk, and expansion guard review.

v321

• Unified workspace telephony review added in Company settings.

• New admin-safe labels: unified telephony, workspace telephony mode, business-call continuity.

• Broader business phone expansion can continue from this stronger review base.

v320

• hardened broader business-phone readiness states

• added business-number continuity and active-call continuity review

• added broader continuity warning review

• expanded admin-safe broader telephony visibility in Company Settings

v319

• Added a broader business phone behavior review so workspace admins can see whether business-number ownership, browser/provider live-call posture, inbound-to-live continuity, and clean operator-surface protection are ready to support a more unified workspace phone system.

• Kept broader telephony review in the admin/workspace layer by adding a server-side business-phone review route and a new Company Settings review block instead of pushing telephony detail into dispatcher-facing call surfaces.

• v320 hardens broader business-phone readiness and continuity with stronger business-number continuity, active-call continuity, broader continuity warnings, and expanded admin review in Company Settings.

v318

• Hardened live queue and after-hours execution posture in inbound phone-system routing.

• Added admin-facing queue continuity, after-hours route, and coverage outcome review.

v317

• Hardened inbound queue and after-hours continuity by adding clearer admin-facing queue readiness, after-hours readiness, and coverage outcome review so workspaces can see how unresolved calls land when no live dispatcher path is available.

• Extended live inbound routing with an after-hours branch that can route directly into the staged after-hours fallback path before extension capture, and clarified queue continuity posture across unresolved coverage.

v315

• Deepened live dispatcher ringing behavior after valid extension lookup so inbound calls can continue from a primary dispatcher ring attempt into a staged backup dispatcher path before falling fully into queue, voicemail, or callback continuity.

• Hardened no-answer, canceled, and failed ring outcomes with clearer continuity-stage handling, narrower backup-dispatcher selection, and safer live inbound completion messaging.

• Expanded the admin-only inbound runtime review with ring outcome and ringing continuity summaries so workspace admins can test live extension routing more confidently before deeper voicemail/callback completion work.

• v316: inbound callback / voicemail continuity hardening foundation.

v313

• Hardened live inbound routing outcomes so unresolved or invalid extension entry now stays tied to clearer queue, voicemail, or callback branch selection rather than drifting into ambiguous fallback behavior.

• Added stronger runtime warnings when inbound routing or contract status are still below live-ready stages, and tightened ready-extension lookup so only extensions matching the staged digit rule are treated as live targets.

• Expanded the workspace phone-system admin surface with routing-readiness and fallback-readiness summaries so admins can see more clearly when inbound testing is structurally ready.

• v314 added inbound runtime visibility and admin testability hardening for workspace phone-system routing.

v312

• Added the first live inbound Twilio webhook foundation at `/api/voice/twilio/inbound`, including staged extension gather, staged dispatcher lookup, invalid/unresolved extension branching, and first busy/offline fallback behavior.

• Wired enabled dispatcher extensions to browser-client dialing identities so workspace inbound routing can begin testing against staged extension assignments without cluttering operator-facing pages.

• Added live inbound webhook readiness visibility to the workspace phone-system planning surface so admins can see when at least one number and one valid extension are ready for first inbound testing.

v311

• Deepened the workspace admin phone-system configuration surface with stronger validation summaries, backup dispatcher assignment staging, after-hours route staging, callback owner and voicemail prompt settings, and stronger server-side contract warnings.

• Expanded dispatcher extension management so busy-backup routing can point to a specific backup dispatcher before live inbound routing is wired.

v310

• Added inbound routing / extension capture contract staging to workspace phone-system settings so admins can define entry mode, digit capture timing, no-input routing, invalid-extension routing, prompt retries, and unresolved callback continuity before live IVR wiring.

• Added a new `/api/voice/phone-system/contract` server-side summary contract plus `src/modules/voice/inbound-routing-contract.service.ts` so the staged business-phone contract can be previewed without crowding the operator dialer surfaces.

• Added `WORKSPACE_INBOUND_ROUTING_EXTENSION_CAPTURE_CONTRACT_ARCHITECTURE.md` and `.html` as the governing document for early inbound extension capture, dispatcher lookup, fallback, voicemail, and callback continuity behavior.

v309

• Added workspace phone system planning scaffolding in Workspace Settings so admins can stage workspace-owned numbers, dispatcher extensions, inbound routing posture, and busy/offline fallback rules without crowding the operator-facing dialer surfaces.

• Added a new `/api/voice/phone-system` contract with a workspace phone-system settings store for staged number inventory, extension assignments, voicemail/callback continuity toggles, and inbound routing readiness posture.

• Added `WORKSPACE_PHONE_NUMBER_DISPATCHER_EXTENSION_ROUTING_ARCHITECTURE.md` and `.html` as the governing architecture documents for future inbound routing and extension wiring.

v308

• Hardened CORI live DTMF retry and queue behavior so queued digits wait for connect, blocked tones can be retried more safely, and repeated-send prevention no longer lets PBX input drift into noisy tone spam.

• Added clearer dispatcher-facing PBX guidance for wait / retry / clear next steps while keeping page and popup dialer tone state aligned.

• Added planned architecture tracks for DAT authenticated next-load search and an Accounting Portal with QuickBooks synchroni

v307

• Hardened CORI live DTMF tone handling with clearer sent/queued/blocked feedback, safer rapid-keypress handling, and better PBX / extension clarity in the dialer.

• Added shared page/popup DTMF state sync so keypad digits, tone status, and blocked posture stay aligned across CORI surfaces.

• Differentiated dialing-stage queued tone behavior from connected-stage live tone sending in the guarded provider-side DTMF route.

v306

• Wired the CORI keypad into a guarded provider-side DTMF route so digit presses can attempt live tone delivery during dialing or connected provider-backed calls.

• Added clear PBX / extension tone-delivery feedback in the dialer while keeping fallback-safe local capture when provider-side DTMF is unavailable.

• Preserved the compact full-page and popup dialer surfaces without reopening technical runtime review by default.

v305

• Added a slide-up PBX / extension keypad to the CORI dialer so dispatchers can open a compact number pad during live calls without changing the general dialer format.

• Kept the keypad hidden until needed and limited it to active calls, with quick backspace and clear controls plus a visible PBX / extension status line in the dialer.

• Preserved the compact popup and full-page CORI operator surface while preparing the dialer for future provider-side DTMF wiring.

v304

• Expanded CORI guarded live-call readiness across more session conditions, including missing contact, missing phone, guarded start in progress, provider-backed live, mock fallback live, and retry-ready posture.

• Added clearer operator-facing readiness cues for session condition, next fix, retry status, and shared page/popup readiness agreement without reopening technical runtime review by default.

v303

• Added broader live-call operation readiness posture for CORI with compact operator-facing readiness, retry, fallback, and shared page/popup continuity cues.

v302

• Hardened provider-backed transcript/result interpretation with calmer result confidence, safer callback handling, weaker cue suppression, conflict-aware advice shifts, and stronger shared best-current-result agreement across page and popup CORI runtime behavior.

v301 - Provider-backed transcript/result behavior expansion foundation

• Added guarded provider-backed session start checks against the live-session and provider-connect endpoints, with clean mock fallback when readiness is blocked.

• Expanded the shared CORI runtime snapshot to carry provider mode, bridge phase, transcript mode, fragment counts, best-fact stability, and result/callback/objection posture.

• Moved the new transcript/result review into the hidden Temporary runtime review area so the default operator surface stays compact.

v300 - CORI Runtime Review Separation Foundation

• The normal CORI operator surface should show only the contact, call purpose, live facts, next guidance, call state, and save readiness.

• Runtime review remains available only when explicitly opened on the full page.

• Popup CORI should stay focused on the active call workspace and should not show the temporary runtime review by default.

• Runtime review is now hidden behind a closed-by-default review block on the full page.

• The top page framing now explains that runtime review is still temporary and intentionally hidden in normal use.

• This preserves development visibility while restoring a more compact operator-first surface.

v298 - nextphase

• First guarded provider-backed start helper for CORI live call flow

• Mock fallback preserved when readiness does not pass

• Richer normalized provider-backed mid-call event flow

• Shared page/popup runtime updates without exposing raw provider payload complexity

• Temporary visible development review notation for richer provider event flow

v296

• provider-backed closeout posture visibility

• final advice freeze visibility

• stable-fact-only closeout behavior in the shared runtime feed

• save-boundary alignment notes for page and popup

v295

• CORI now attempts one guarded provider-backed session start path before falling back to the mock path.

• The shared runtime feed now carries either provider-backed or mock fallback mode without splitting page and popup behavior.

• The CORI page now shows a development-only review section for the first provider-backed session path, including start result, connect posture, and fallback posture.

v294

• Added `lib/cori-provider-transport.ts` to define provider event mapping rules, bridge-safe phases, duplicate/out-of-order handling, transcript normali

v293

• Added provider-facing CORI live transport scaffolding.

• Added shared transport planning for adapter boundaries, session start guards, provider-to-runtime bridge stages, and mock-to-provider swap points.

• Added a visible provider transport scaffold section inside CORI Live Call Copilot.

• Updated the CORI page framing so page and popup continuity stay centered on one shared normalized event spine.

• Open **CORI Live Call Copilot**.

• Confirm there is a new **Provider transport scaffold** section.

v292

• Version: v292

• Focus: final end-user surface tightening

• Summary: reduced helper copy, tightened headings and spacing, simplified dispatcher wording, collapsed lower-priority CRM links, and shortened CORI/dashboard/load/driver/truck framing.

• Next suggested review: decide whether to return to provider-facing live transport scaffolding on the cleaner CORI/dispatch surfaces.

v291

• Compressed remaining high-use report and support surfaces into shorter summary-first layouts.

• Moved deeper analytics blocks behind expandable sections on Dispatch, Loads, Finance, and CRM report pages.

• Shortened the Reports hub and CORI Live Call Copilot first-screen framing.

v290

1. Dispatch Home compression continued with secondary dashboard sections moved behind toggles.

2. CRM detail continuity, action, quote-call, and call-note sections were compressed to keep the top of broker/company/shipper pages shorter.

3. Older CRM continuity history now stays available but out of the main first-screen path.

v289

1. Loads detail now keeps only the key action blocks open by default. Quick numbers, record detail, billing/doc tools, and history are behind compact toggles.

2. Drivers detail now keeps the driver call path open and moves readiness, recent work, notes, assignments, and timeline into compact on-demand sections.

3. Trucks detail now keeps driver/load/next-move actions open and moves business metrics plus deeper workspace detail into compact toggles.

4. Dispatch Board now hides board audits by default and shortens top copy so the board stays concentrated.

5. Root docs were updated to formali

v288 - High-traffic page declutter foundation

• Drivers: kept the driver call path at the top and pushed lower support cards into a secondary expandable area.

• Loads: moved long-form handoff/help into expandable areas and added a cleaner top summary for status, lane, next move, and balance.

• Dispatch Board: added a short top "Dispatch now" summary and moved heavier continuity/overview panels behind expandable sections so the live board is reached faster.

• This version establishes a repeatable pattern: top = quick action + current status + next move, lower = optional support detail.

v287

• Expanded CORI launcher coverage across driver, truck, and load detail surfaces.

• Moved the driver call path to the top of the driver page so dispatch can reach the driver faster.

• Added simpler call-entry wording and stronger context handoff into popup and full-page CORI call surfaces.

• Established page refactor direction: high-frequency dispatcher actions should move upward before lower-page detail blocks.

v286 - CORI live event transport mock/session wiring foundation

• Added `lib/cori-live-runtime.ts` as the mock session transport layer for normali

v285

• CORI normalized live event contract scaffolding foundation

• Shared event types and provider-agnostic runtime boundary

• Listening posture store shape and consent/policy gating contract

• Partial fact state model and advice refresh contract

• Shared runtime selectors for full-page and popup CORI surfaces

• `lib/cori-live-contract.ts`

v284 - CORI live listening / transcript transport planning foundation

• Added a live listening planning strip to `components/cori/call-copilot-shell.tsx` so operators can see the next-stage event flow, fact lifecycle, UI use model, and privacy gate in plain language.

• Expanded `CORI_LIVE_CALL_COPILOT_ARCHITECTURE.md` with staged live listening architecture, event transport flow, partial fact lifecycle, UI consumption rules, and failure handling.

• Expanded `PRIVACY_TERMS_CONSENT_DATA_LIFECYCLE_ARCHITECTURE.md` with live call listening consent, notice, retention, and audit planning.

• Added `CORI_LIVE_LISTENING_TRANSCRIPT_RUNTIME_PLAN.md` and `CORI_LIVE_LISTENING_TRANSCRIPT_RUNTIME_PLAN.html` as the governing planning set for future live call streaming work.

v283 - CORI live transcript-aware fact extraction foundation

• Deepened `components/cori/call-copilot-shell.tsx` with smarter transcript-style fact parsing for pickup, drop, miles, weight, equipment, pickup/delivery timing, callback cues, objections, and result signals.

• Added fact replacement-ready fields and stronger callback / booked / pass / countered phrase detection for live advice shifts.

• Expanded Live Facts with equipment, pickup time, delivery time, and result signal visibility.

v282

• Deepened CORI hidden reality signals with route, weather, accessorial, and pricing-pressure prompts.

• Sharpened advice panel with reason-aware negotiation guidance and speakable next-line suggestions.

v281 - CORI live intelligence behavior deepening

• Deepened `components/cori/call-copilot-shell.tsx` with smarter live facts, hidden reality, and advice behavior.

• Added quick note parsing for pickup, drop, miles, offer, weight, and callback cues.

• Added stronger short-form advice with offer / RPM / ask / floor logic and speakable next-line guidance.

• Added quick outcome buttons for no-answer, callback, countered, booked, and pass.

v280.2

• CORI's Quotes should load normally again.

• Phone-book search should populate correctly instead of crashing the page on load.

• No Prisma changes

• No database migrations

v280 - CORI launcher context wiring

• Wired Call Broker, Call Driver, and Call Shipper actions into CORI Live Call Copilot popup launch context.

• Added context-aware full-page call links with prefilled truck/load/lane/rate/call-purpose values where available.

• Added shared CORI call launch support utilities and popup event handling.

v279 - CORI Live Call Copilot foundation

• Refactored CORI's Quotes into a new full-page call-center foundation focused on contact search, context strip, live facts, hidden reality, advice, and a bottom dialer.

• Added reusable `components/cori/call-copilot-shell.tsx` for both the full page and popup shell.

• Rebuilt the global CORI popup with Ask/Call modes so the new call copilot shell is available from anywhere as a popup foundation.

• Added governing architecture documents for CORI Live Call Copilot to the root and linked them into the architecture set.

v278 - 2026-04-21

• Reconnected broker call workflow into truck continuity on the Truck Next Load page.

• Added latest call outcome, retry/callback/booked/pass actions, and truck-first next-load decision flow.

v277 - Next Load continuity deepening

• Deepened `app/(dashboard)/trucks/[id]/next-load/page.tsx` into a truck-focused next-load control surface.

• Added protected / needs-next-load / at-risk / uncovered state visibility directly on the Next Load page.

• Added a richer `Next move summary` with lane, urgency, broker anchor, rate anchor, and timing watch fields.

• Added a truck-specific continuity action queue with direct actions for covering the next move.

• Added shared helpers in `truck-command-support.tsx` for continuity buckets, next-move summaries, and continuity action generation.

• No Prisma changes.

v276 - truck subpage structure foundation

• Added truck sub-navigation for Overview, Current Load, Next Load, Money, Documents, and History.

• Kept the existing truck landing page as the Overview dashboard.

• Added foundation pages under the truck route for current move, next-load continuity, money, documents, and history.

v275

• Locked the truck business dashboard to three official windows: YTD, last full week, and current week so far.

• Standardi

v274

• Rebuilt the truck detail page into a compact truck business dashboard with above-the-fold YTD, last full week, and current week so far scoreboards.

• Added real RPM and actual CPM visibility in the truck header area so dispatchers can manage the truck in real cost reality.

• Moved the first steps workspace directly below the truck dashboard and kept the action queue truck-specific and compact.

• Kept insurance, factoring, and deeper reference detail off the first screen so the truck landing page stays focused on performance and next action.

v273 - Truck Command Page foundation

• Rebuilt `app/(dashboard)/trucks/[id]/page.tsx` into the first true truck command page foundation.

• Added a stronger truck header with truck business context, driver, continuity state, activity state, and quick actions.

• Added dedicated `Current move`, `Next move`, `Truck action queue`, and `Quick truck snapshot` sections.

• Kept this build focused on truck-first dispatch workflow with no Prisma changes.

v272 - Dispatcher Workspace My Trucks foundation

• rebuilt `/trucks` into a truck-first `My Trucks` page for dispatchers

• grouped trucks by continuity state: Protected, Needs next load today, At risk, and Uncovered

• added truck-first summary cards and practical filters for carrier and continuity state

• made each truck card launch into the truck detail page as the truck command entry path

• updated the truck detail page subtitle and continuity strip to position it as the truck command foundation

v271 - documentation cleanup and architecture root upgrade only

• added `Project Documentation/Architecture/BUILD_ARCHITECTURE_REVISED_V2.md` and HTML companion to the project root as governing platform architecture documents

• added `PRIVACY_TERMS_CONSENT_DATA_LIFECYCLE_ARCHITECTURE.md` and HTML companion to the project root as governing privacy/terms/consent/data-lifecycle documents

• added `Project Documentation/Architecture/PLATFORM_ARCHITECTURE_INDEX.md` and HTML companion to the root as the architecture entry point for future builds

• updated `Project Documentation/Architecture/ARCHITECTURE_ROADMAP.md`, `DEVELOPMENT_PROTOCOL.md`, and `Project Documentation/Active/PROJECT_HANDOFF.md` to point future work at the new governing document set

• no product, UI, API, or Prisma changes in this build

v270 - Dispatch Home first-page refactor

1. Rebuilt the first page after login into **Dispatch Home**.

2. Added a top **Needs attention now** section with simple dispatcher counts.

3. Added a central **Action queue** focused on next moves, follow-ups, and live load risks.

4. Added **Truck continuity** so the page starts from protecting truck movement, not waiting for empty trucks.

5. Added **Live load risk** and **Follow-ups due** as separate focused work sections.

6. Removed the old report-heavy dashboard layout from the first-load experience.

v269 - simplification cycle review, remaining friction audit, and next cleanup-track decision

• added a simplification review section on the Call tools page so the team can see what improved, what still feels heavy, and what cleanup track should come next

• added a direct review link from the main CORI Quotes page into the tools-page audit section

• documented the remaining friction areas around quote setup weight, saved lists, and after-call choice density without removing current functionality

v268 - final operator QA cleanup, leftover jargon removal, and dispatcher usability closeout

• removed leftover jargon from the CORI Quotes main page and call tools page

• simplified headings, helper text, and after-call wording into plainer dispatcher language

• tightened spacing in the main recap areas to reduce visual density without removing features

• completed the dispatcher usability closeout pass for this simplification cycle

v266

• Added a plain-language call summary card and clearer saved-result recap on CORI Quotes.

• Simplified post-call wording so dispatchers can see what happened, the saved rate, and the next step faster.

• Added a dispatcher-ready outcome recap block on the Call tools page.

v265.1

• Fixed CORI Quotes post-call result drawer to use `savedAt` from `QuoteOutcomeRecord` instead of non-existent `createdAt`.

v265

• Added a simple post-call result drawer to CORI Quotes.

• Added plain-language follow-up choices and closeout guidance.

• Extended the separate Call tools page with a simple closeout flow.

v264 - guided step-by-step call workflow panel and simplified dispatcher progression track

• added a new Simple call steps panel at the top of CORI's Quotes with four plain-language dispatcher steps

• added a stable #quote-setup jump target and a follow-up-list handoff target on the separate call tools page

• added a clearer next-step message so dispatchers can see the next action without scanning the full page

v263.1

• Fixed JSX nesting in `app/(dashboard)/cori/quotes/page.tsx` after the advanced tools surface split.

• Restores a clean build while keeping the v263 scope intact.

v263 - advanced voice surfaces removal from main dispatcher page and separate tools surface foundation

• moved long advanced voice surfaces out of the default main CORI Quotes view

• added a separate call-tools foundation page at `/cori/quotes/tools`

• added direct links from the main quote page to the tools page and full advanced view

• kept advanced voice surfaces accessible through `/cori/quotes?tools=1` so functionality is preserved while the main page stays shorter

v262.1

• Corrective package for the failed v262 collapse-wrapper pass.

• Restores a stable CORI Quotes page structure by rolling back the broken JSX nesting introduced in v262.

• Keeps the successful operator-first simplification work from v261.2 as the safe baseline for the next shortening pass.

v261.1

• Fixed the v261 CORI Quotes JSX build break by rebuilding the top operator surface on a stable page structure.

• Kept the new top-of-page operator action section and simpler call-tool wording.

• Deferred the lower-page collapse wrapper to the next simplification build for stability.

v260 - operator simplification and plain-language recovery foundation

• Reworded major visible CORI Quotes section titles into simpler dispatcher language.

• Simplified many action button labels so they read like direct work actions instead of technical system actions.

• Reworded summary card labels and helper text foundations on the CORI Quotes voice/call flow to reduce jargon.

• Kept underlying voice-to-workflow functionality intact while starting the operator-facing wording recovery track.

v259

• added `/api/voice/twilio/continuity-snapshot-audit` for hardened bridge audit visibility, persistence history carry-forward, and downstream workflow confidence staging

• expanded CORI's Quotes with a hardened bridge audit section showing carry-forward timing, confidence scoring, and persisted history review for retry, callback, and recovery branches

• extended continuity snapshot persistence metadata so audit review and carry-forward history can remain visible inside the existing workspace JSON persistence store

v258 - controlled corrected snapshot confirmation, workflow landing re-verification, and voice-to-workflow bridge hardening track

• added /api/voice/twilio/continuity-snapshot-hardening route for corrected snapshot confirmation, downstream landing re-verification, and optional bridge hardening commit

• extended CORI quote continuity snapshot persistence to support correction confirmation and bridge hardening metadata in the existing workspace JSON store

• added CORI's Quotes UI section for corrected snapshot confirmation, hardening actions, recent hardened snapshot review, and branch-specific bridge hardening guidance

v257.1

• Corrected DataCard prop usage in the continuity snapshot correction section so the v257 comparison surface builds successfully.

v257

• added controlled persisted continuity snapshot comparison, mismatch flagging, and workflow re-bridge correction track in CORI Quotes

• added `/api/voice/twilio/continuity-snapshot-correction` to compare the latest persisted branch snapshot against expected destination and workflow lane

• added controlled correction mode that rewrites the latest persisted branch snapshot when a workflow re-bridge correction is applied

v256

• added controlled persisted continuity snapshot review surface and downstream workflow landing verification track in CORI's Quotes

• added /api/voice/twilio/continuity-snapshot-review route for reviewing saved continuity snapshots against expected workflow destinations

• exposed continuity snapshot records through quote persistence typing and follow-through review state

v255 - controlled continuity snapshot destination mapping and first real voice-to-workflow persistence bridge foundation

• added `/api/voice/twilio/continuity-snapshot-bridge` backend contract for branch-specific destination mapping and optional continuity snapshot persistence into workspace storage

• extended quote persistence storage to retain continuity snapshots in the workspace JSON store so the first real voice-to-workflow bridge can write committed snapshot records without Prisma changes

• added a continuity snapshot bridge section in CORI’s Quotes that surfaces mapped destination, workflow lane, persistence action, saved snapshot count, and latest persistence timestamp for retry, callback, and recovery branches

v254 - controlled quote closure audit trail visibility, continuity snapshot persistence planning, and next voice-to-workflow bridge decision track

• added `/api/voice/twilio/closure-audit-snapshot` backend contract for staged closure audit visibility, continuity snapshot planning, and next bridge decision guidance

• added a closure audit section in CORI’s Quotes that surfaces audit status, snapshot planning, bridge direction, persistence notes, and branch-specific guidance for retry, callback, and recovery

• extended the controlled voice progression so quote closure confirmation now feeds an explicit audit-and-bridge decision surface without claiming live downstream persistence

v253

• Version: v253

• Theme: controlled quote closure confirmation, CRM completion commit visibility, and dispatcher handoff resolution continuity

• Added route: `/api/voice/twilio/crm-closure-confirmation`

• Added CORI Quotes section for final closure confirmation and dispatcher handoff resolution visibility.

• No Prisma schema changes.

v252

• added `/api/voice/twilio/crm-activity-completion` backend contract

• added CORI’s Quotes section for closure decision capture and finali

v251 - controlled CRM queue acceptance, action ownership confirmation, and quote follow-up closure continuity

• added `/api/voice/twilio/crm-queue-acceptance` backend contract for staged CRM queue acceptance, ownership confirmation, and quote follow-up closure continuity

• added a CRM queue acceptance section in CORI’s Quotes that surfaces acceptance status, ownership status, closure status, route labels, closure actions, and owner notes for retry, callback, and recovery branches

• extended the controlled voice progression so staged CRM promotion can now move into queue acceptance and ownership confirmation without claiming live production automation

v250 - controlled post-call task promotion into CRM follow-up queue and dispatcher action continuity

• added `/api/voice/twilio/crm-task-promotion` backend contract for staged post-call branch promotion into CRM follow-up queues and dispatcher action continuity

• added a CRM promotion section in CORI’s Quotes that surfaces promotion status, CRM queue state, dispatcher action state, route labels, and continuity notes for retry, callback, and recovery branches

• extended the controlled voice progression so post-call task continuity can now feed a staged CRM follow-up queue and operator next-action path without claiming live automation in production

v249.1

• Cause: `postCallBranch` was referenced in `app/(dashboard)/cori/quotes/page.tsx` but the actual React state variable is `postCallTaskBranch`.

• Fix: updated the request payload to send `postCallBranch: postCallTaskBranch`.

• Scope: no feature rollback; this is a targeted corrective patch only.

v249 - controlled retry callback recovery branch routing and post-call task creation continuity

• added `/api/voice/twilio/post-call-task-continuity` backend contract for retry, callback, and recovery post-call branches

• added a post-call branch selector in CORI’s Quotes so operators can switch between retry, callback, and recovery task continuity views

• added controlled post-call task continuity cards covering task state, queue state, owner, due window, primary and secondary tasks, and recovery guidance

v248

• Added completed, failed, and canceled final outcome branch expansion for the controlled live voice track.

• Added quote follow-up action routing visibility in CORI's Quotes.

• Kept readiness gating explicit so follow-up routing only appears ready when token issuance, provider auth, caller ID, target phone, consent posture, dialer connection, and webhook base URL are all satisfied.

• No Prisma schema changes.

• Current route added: `/api/voice/twilio/outcome-followup-routing`.

v247

• Added provider event variant selection for the controlled live voice track.

• Added answered, busy, and no-answer outcome drilldown visibility in CORI's Quotes.

• Kept readiness gating explicit so outcome branches only appear ready when token issuance, provider auth, caller ID, target phone, consent posture, dialer connection, and webhook base URL are all satisfied.

• No Prisma schema changes.

• Current route added: `/api/voice/twilio/provider-outcome-drilldown`.

v246 - provider webhook intake foundation and final call outcome transition visibility

• Added `/api/voice/twilio/provider-webhook` so the controlled Twilio rollout can stage provider callback intake, webhook-base readiness, and final call outcome transition visibility.

• Expanded CORI’s Quotes with a provider webhook section showing webhook status, final outcome state, previous/next state, provider event type, completion timing, and webhook endpoint visibility.

• Preserved rollout honesty by keeping live provider outcome handling gated behind webhook-base readiness and existing token/provider/dialer posture checks.

v245 - controlled in-progress call session contract and live outcome-state visibility

• Added `/api/voice/twilio/in-progress-session` to move the controlled live call track from ringing posture into in-progress session visibility while keeping provider outcome handling explicitly staged.

• Expanded CORI’s Quotes with an in-progress session panel showing session status, live call state, outcome state, call SID preview, session start visibility, and next-state guidance.

• Preserved the controlled Twilio rollout sequence by keeping provider outcomes visible as a separate pending state rather than pretending webhook-driven completion is already live.

v244 - controlled provider connect attempt flow and live call state transition visibility

• added `/api/voice/twilio/connect-attempt` backend contract for controlled provider connect attempt staging and explicit call-state transition visibility

• added CORI’s Quotes connect-attempt section with attempt status cards, call-state visibility, and browser-connection gating feedback

• extended the live voice track so operators can see the next staged move from provider-ready posture into a controlled ringing-state attempt

v243 - provider-side call connect contract and controlled live session lifecycle visibility

• added `/api/voice/twilio/provider-connect` backend contract for provider auth, caller-ID readiness, and controlled session lifecycle staging

• added CORI’s Quotes provider connect section with lifecycle status cards, call SID preview, and provider connect endpoint visibility

• expanded controlled live session follow-through so operators can see the next stage from handshake readiness into provider-side connect preparation

v242

1. Live dialer session handshake backend route added

- Added `app/api/voice/twilio/live-session/route.ts`

- The new route:

- consumes a live browser token through the existing readiness contract

- checks for a real phone target

- checks consent posture when call consent is required

- returns clear blocked reasons when the session cannot move forward

2. Controlled token-consumption session contract added

- The new route now returns:

- session status

- token consumption status

- handshake status

- dialer state feedback

- target phone

- identity

- token preview

- expiry time

- region

3. CORI’s Quotes live handshake section added

- Updated `app/(dashboard)/cori/quotes/page.tsx`

- Added a new section:

- `Controlled browser token consumption and live dialer session handshake track`

- Added actions:

- `Start live handshake`

- `Reset`

4. Controlled handshake visibility added

- The new UI surfaces:

- session status

- token consumption

- handshake status

- dialer feedback

- target phone

- consent posture

- transcript-assist posture

- token preview / expiry / region

5. Dialer follow-through continuity added

- When the live handshake comes back ready, the page now moves the in-app browser dialer into the connected posture so the operator can see the workflow progress inside the same workspace.

6. Canonical documentation updated

- Updated:

- `Project Documentation/Active/CHANGELOG.md`

- Added:

- `dispatchspot_next_phase_handoff_v242.md`

- `dispatchspot_next_phase_handoff_v242.html`

v241

1. Live token contract helper added

- Added `src/modules/voice/twilio-token.contract.ts`

- Introduced workspace-gated readiness checks for:

- required Twilio env mapping

- staged rollout enablement

- credential readiness

- browser token posture

- dispatcher voice-assist policy

- provider-ready token service posture

- Added signed JWT issuance using Node crypto when all required conditions are satisfied.

2. Token backend route upgraded

- Updated `app/api/voice/twilio/token/route.ts`

- The route now supports two behaviors:

- readiness/foundation response

- controlled live-token issuance mode

- Added explicit blocked-reason output when live issuance cannot proceed.

3. CORI’s Quotes token section expanded

- Updated `app/(dashboard)/cori/quotes/page.tsx`

- Added provider-posture visibility.

- Added a new action:

- `Issue live token`

- Added live-token readiness signals for:

- provider ready

- voice assist allowed

- live token ready

4. Token issuance result visibility added

- When a token is issued, the section now surfaces:

- token preview

- expiry time

- voice region

- optional full-token disclosure panel

- When issuance is blocked, the section now surfaces the exact blocked reason.

5. Canonical documentation updated

- Updated:

- `Project Documentation/Active/CHANGELOG.md`

- Added:

- `dispatchspot_next_phase_handoff_v241.md`

- `dispatchspot_next_phase_handoff_v241.html`

v240 - controlled browser token issuance mock activation and dialer state feedback polish

• added controlled mock activation route for browser token issuance posture and dialer feedback

• added CORI’s Quotes mock activation section with activation feedback guide and polished dialer state feedback

v239

• Added live browser token issuance activation contract and dialer status continuity foundation for CORI's Quotes.

v238 - Twilio internal test session visibility and browser dialer activation polish

• added internal test session visibility to CORI’s Quotes

• added recent internal browser handshake session continuity

• polished browser dialer activation posture and target handling

v237 - Internal Twilio token test mode and browser dialer handshake foundation

• added /api/voice/twilio/handshake backend readiness contract

• added internal Twilio token test mode and browser handshake visibility on CORI's Quotes

• expanded workspace voice settings messaging for internal browser token checks

• extended token/session readiness messaging for controlled internal testing

v236 - Live Twilio environment variable mapping and browser token issuance activation prep

• Added `/api/voice/twilio/env-map` backend readiness route for required/optional Twilio environment mapping visibility.

• Expanded Twilio token foundation and browser voice session contract responses with env-mapping profile, token issuance posture, activation-prep state, and missing env var visibility.

• Added workspace voice settings for browser token issuance status and environment mapping profile.

• Added environment mapping and activation-prep visibility to CORI’s Quotes, Workspace Settings, Workspace Administration, and Admin Workspace Provisioning.

v235 - live Twilio credential wiring preparation and browser voice session service contracts

• added `/api/voice/twilio/session` backend foundation route for browser voice session service contracts

• expanded workspace voice settings with browser client label, voice region, webhook base URL, and credential preparation status

• added browser voice session service contract visibility to CORI’s Quotes

• added workspace/admin readiness framing for later live Twilio credential wiring

v233 - Twilio service configuration foundation and admin readiness controls

• Added a shared Twilio readiness panel component for operator, workspace-admin, and platform-admin surfaces.

• Added Twilio readiness visibility to CORI’s Quotes above the browser dialer foundation.

• Added workspace-admin Twilio readiness sections to Workspace Settings and Workspace Administration.

• Added platform-level Twilio readiness section to Super Admin Workspace Provisioning.

v232 - Quote-call linkage polish and voice session workspace continuity

• Added a new quote-call linkage and voice session continuity section to CORI's Quotes.

• Surfaced linked broker, load, recent quote-call log, and recent dialer continuity in one workspace view.

• Added direct continuity actions for opening linked records, resuming voice prep, and resuming dialer activation.

v231

• Added CRM call notes, broker-contact logging, and relationship timeline continuity panels on broker, company, shipper, and owner-operator detail pages.

• Extended CORI quote persistence to include shared call-note records for relationship follow-up continuity.

v230 - CRM click-to-call expansion and recent call continuity

• Added recent call continuity panels to broker, company, shipper, and owner operator CRM list workspaces.

• Added Call and Quote Call actions to CRM list rows and mobile CRM cards for supported records with phone numbers.

• Preserved existing detail-page Quote Call continuity while expanding click-to-call speed from list surfaces.

v229

• Activated the Dispatch Spot Voice foundation on CORI’s Quotes with an in-app browser dialer staging surface, keypad, active-call controls, and recent dialer continuity.

• Preserved voice-prep continuity while making the quote workspace feel ready for Twilio browser calling and CRM click-to-call activation.

v227 - quote automation metrics polish and dispatch-board created-load continuity

• Added quote automation metrics polish to CORI's Quotes.

• Added dispatch-board created-load continuity surface using persisted quote outcomes.

v226 - quote-to-dispatch conversion polish and post-call workflow routing

• Added post-call workflow routing cards in CORI's Quotes so dispatchers can move directly into Dispatch, Loads, Documents, Billing, and broker continuity after quote outcome automation.

• Polished the conversion path after quote finali

v225

• Outcome automation polish added to CORI's Quotes.

• Load-intake continuity refinement added with readiness checks and post-automation quick links.

v224

• tracked quote outcomes saved to backend persistence

• analytics summary cards for take / negotiate / pass and average final quote

• finalize call outcome flow with automatic broker creation when needed

• automatic load creation when needed

• automatic truck + driver assignment when possible

v223

• Backend quote persistence added for CORI's Quotes.

• Team-shared pricing presets added through authenticated workspace-scoped persistence.

• New API route: `/api/cori/quotes/persistence`.

v222

• Added saved quote scenarios to CORI’s Quotes with local restore and removal controls.

• Added reusable pricing presets with apply/save/remove actions for margin, fuel, deadhead, and call-condition defaults.

v221

• Added Live voice-assist beta foundation and call-consent controls to CORI's Quotes.

v220 - CORI quote reasoning and negotiation guidance

• expanded CORI’s Quotes with a reasoning layer that explains how cost, fuel, deadhead, urgency, and margin inputs shape the recommendation

• added negotiation bands, walk-away guidance, and call coaching so dispatchers can defend the quote during broker conversations

v219 - Live transcript-ready foundation and extracted quote-field suggestion layer

• Expanded `/cori/quotes` with a transcript-ready staging panel for future Twilio/live transcript ingestion.

• Added transcript snippet intake, transcript readiness bars, and extracted quote-field suggestions that can apply broker-offer, urgency, quick-pay, detention-risk, weight, and commodity clues into the quote form.

• Preserved the Dispatch Spot Voice foundation while making the quote workspace visibly ready for live transcription and extraction workflows.

v218 - Quote calculation engine and CRM call logging continuity

• expanded CORI’s Quotes with stored quote-call logs and a recent linked call continuity panel

• added reusable CRM quote-call continuity panels on broker, company, shipper, and owner-operator detail pages

• preserved the v217 Dispatch Spot Voice foundation while making quote sessions easier to reopen from CRM records

v217 - CORI's Quotes workspace foundation and Dispatch Spot Voice foundation

• Added `/cori/quotes` under the Ask CORI navigation section as a dedicated guided broker quoting workspace.

• Built the first CORI's Quotes foundation with quote setup, live broker call intake, calculated floor/target/opening rates, and a plain-language CORI negotiation recommendation.

• Added a Dispatch Spot Voice foundation panel with browser-dialer staging, quote-to-call session linkage, and local recent voice-prep continuity for future Twilio integration.

• Added CRM handoff improvements including Quote Call links from broker, company, shipper, and owner-operator detail surfaces plus a CORI's Quotes shortcut in CRM list workspace handoff.

• Preserved schema-safe frontend/service-layer scope with no Prisma schema changes.

v216 - Cross-workspace continuity polish and operator fast-lane refinement

• polished the shared universal quick-action layer with a stronger fast-lane summary and compact operator fast-lane chips

• improved continuity emphasis across Dispatch, Load Detail, Billing, and Documents through the shared quick-action component

• removed border styling from the Ask CORI sidebar child link so it matches the cleaner dropdown-link treatment

v215

• Added a reusable cross-workspace universal quick-action layer across Dispatch, Load Detail, Billing, and Documents.

• Removed the global Ask CORI popup from the full Ask CORI page so the dedicated CORI workspace stays clean.

v214 - Document relink workflow and exception-resolution shortcuts

• Added document relink workflow and exception-resolution shortcuts across Documents and Load Detail.

• Added direct relink/CORI handoff paths for document-proof blockers.

v213 - Dispatch-load-billing-documents continuity bundle

• Added a shared `WorkspaceHandoffPanel` continuity surface and used it to connect Dispatch, Load Detail, Billing, and Documents with clearer next-workspace routing.

• Dispatch now exposes a top continuity layer that hands work into load detail, billing, documents, routes, and CORI without losing board context.

• Load detail now acts as the central record hub between dispatch execution, invoice/payment follow-through, documentary proof, and return-path continuity.

• Billing and Documents now keep originating load/workspace context visible so proof, invoice, and collections work can move across pages without feeling disconnected.

Current baseline: v212

Next planned package: v214

v211 - CORI popup attachment-aware suggestions and action-copy helpers

• Added attachment-aware quick suggestions inside the CORI global popup when users appear to be working with document-related content.

• Added copy helpers for CORI popup answers and next-step text.

• Added transient copied-state feedback in the popup header.

v210

• CORI popup answer actions added.

• Page-aware quick follow-up controls added.

• Baseline after successful deployment: v210.

• Next planned step: v211 CORI popup attachment-aware suggestions and action-copy helpers.

v209

• Added CORI popup context awareness based on the current page route.

• Added smart handoff CTA to ask CORI about the current page.

• Added page-specific follow-up prompt chips in the popup empty state.

• Preserved shared local conversation-history continuity with the main Ask CORI page.

v208

• Added a global CORI popup available from workspace pages.

• Popup conversations now write to the shared CORI local conversation history used by the main Ask CORI page.

v206

• Replaced the CORI composer utility row with cleaner minimal icons instead of emoji/character buttons.

• Tightened the empty-state presentation so CORI opens with a calmer, more search/chat-like first impression.

• Preserved saved prompts, conversation history, attachment review, help, and credit visibility.

v205 - CORI attachment flow polish and creditsurface refinement

• Refined CORI credit surface into quieter header and composer footer treatment.

• Added attachment status pill near the composer so upload state stays visible without opening the document tray.

• Reworked the document tray into a calmer two-column attachment review layout.

v204

• CORI conversation history is now restorable from a quiet utility tray.

• Saved prompts can now be removed and managed more cleanly.

• The default CORI screen is calmer, with an empty-state canvas instead of a busy intro stack.

• Recent prompts remain available without crowding the main chat surface.

v203

• CORI now opens as a much cleaner centered conversation surface.

• The input area is dominant and the surrounding noise is reduced.

• Utility icons now sit below the input instead of large prompt chips and open panels.

• Saved prompts and recent prompts can be inserted into the input with one click.

• Document review remains available, but only when opened from the utility row.

• CORI credits and Add credits appear quietly in the page header.

v202 - Profile and account-security workspace simplification

• Reworked `/profile` into a calmer summary-first account workspace with a workspace path, clearer summary cards, restrained security-flow visuals, and direct handoffs into workspace settings, notifications, dashboard, and dispatch.

• Kept profile editing, password changes, protected-session controls, and governed delivery details intact while moving deeper sender-governance and challenge-history detail into progressive disclosure.

• Preserved schema-safe frontend/service-layer scope with no Prisma schema changes.

v200 - Intelligence workspace simplification and research-flow alignment

• Reworked `/intelligence` into a calmer research workspace with a research-workspace path, summary visibility, a restrained research-flow visual, and clearer handoff cards into CRM, CRM Analytics, Ask CORI, and Dispatch.

• Kept search, live external research, CRM intake guidance, Intelligence CORI, results review, and shortlist continuity intact while moving heavier reference detail out of the first scan path.

• Preserved schema-safe frontend/service-layer scope with no Prisma schema changes.

v199 - Route Planning workspace simplification and route-decision alignment

• Reworked `/routes` into a calmer route-decision workspace with a top-level route-workspace path, summary strip, restrained route-decision visual, and clearer handoff cards into Dispatch, Loads, CORI, and Dispatch Analytics.

• Kept load + truck + driver setup and Routes CORI central while making lane review, weather, and stop-support decisions easier to understand before final release.

• Preserved schema-safe frontend/service-layer scope with no Prisma schema changes.

v198 - Notifications workspace simplification and operator-message alignment

• Reworked `/notifications` into a calmer operator-message workspace.

• Added a workspace-path hero, summary cards, a restrained operator-message flow visual, and clearer handoff cards into Dispatch, Dispatch Analytics, CORI, and Dashboard.

• Kept the full notification control surface in a dedicated message-handling section and moved CORI notification support into an optional expandable section.

• Notifications now opens with a cleaner first-screen summary instead of jumping straight into the full control wall.

• Operators see where message pressure sits, where to go next, and only then open deeper notification controls.

• No Prisma schema changes.

v197 - Documents workspace simplification and compliance-flow alignment

• Reworked `/documents` into a calmer compliance workspace with a compliance-workspace path, cleaner headline metrics, a restrained compliance-flow visual, and clearer next-workspace handoff cards.

• Kept incoming intake and the compliance queue as the primary work areas while moving the heavier lifecycle detail into a closed-by-default expandable section.

• Preserved schema-safe frontend/service-layer scope with no Prisma schema changes.

v196 - Billing workspace simplification and finance-flow alignment

• Reworked `/billing` into a calmer finance workspace with summary-first hierarchy, finance-flow visuals, and clearer handoff paths into invoice queue, collections queue, Finance Analytics, and return workflows.

• Added restrained billing value framing so queue counts and money impact are visible together without turning the page into a heavy reporting wall.

• Moved paid-closeout continuity into a closed-by-default section so ordinary users land on invoice and collections work first while preserving deeper closeout guidance.

Current baseline: v195

Next planned package: v197

v194

1. Added a new **Fleet utili

v193 - Trucks, drivers, and equipment workspace alignment

• Added a shared People & Equipment workspace navigation layer for Trucks, Drivers, and Owner Operators so fleet, workforce, and capacity pages now feel connected.

• Added shared launch cards and summary strips to improve handoff between records, dispatch, and analytics without relying on the full sidebar.

• Added a truck-detail continuity block with quick actions and section jump links so equipment profiles now follow the calmer top-of-page pattern used elsewhere in the app.

Current baseline: v192

Next planned package: v194

v192 - CRM detail-view simplification and partner-profile continuity

• Added a shared CRM detail continuity layer across Broker, Company, Driver, Owner Operator, and Shipper detail pages so each profile now begins with the same calmer workspace path, continuity summary, and section-jump pattern.

• Added a reusable `CrmDetailWorkspaceContinuity` component that keeps partner-profile context, analytics access, Intelligence access, create actions, and predictable anchor navigation together before deeper lifecycle controls.

• Added stable profile-section anchors so CRM detail pages now read more consistently: profile first, readiness/notes second, lifecycle controls and timeline after that.

Current baseline: v191

Next planned package: v193

v191

1. Added a shared CRM workspace navigation strip across:

- `/crm`

- `/brokers`

- `/drivers`

- `/companies`

- `/owner-operators`

- `/shippers`

2. Added shared CRM workspace launch cards so users can move between list work, CRM analytics, Intelligence, and record creation with less hunting.

3. Upgraded CRM list action bars to include workspace handoff shortcuts for:

- CRM Overview

- CRM Analytics

- Intelligence

- related CRM lists

4. Added clearer filter guidance on CRM list pages so users understand how to narrow records without scanning a dense interface.

5. Expanded CRM discoverability in the sidebar and clarified CRM-related page descriptions in the top bar.

6. Updated canonical root documentation.

v190.1

• Fixed report typing regressions in the new reporting layer by narrowing bar-visual `tone` values and correcting report-hub bullet prop typing.

v190 - Reports separation and dedicated analytics views

• Added a dedicated `/reports` hub plus separate analytics pages for Dispatch, Loads, Finance, and CRM so heavyweight reporting can live outside the main work pages.

• Extended sidebar navigation and page metadata so analytics views are first-class destinations inside the new SaaS-style shell.

• Dashboard now routes users into the Reports hub when they want deeper analytics, reinforcing the separation between action pages and reporting pages.

Current baseline: v189

Next planned package: v191

v189

• Refocused `/loads` around record management with calmer lifecycle summary cards, a lifecycle visual, and direct handoff cards into Dispatch, Billing, and Documents.

• Kept tabs, filters, and the main list closer to the top of the page so users reach records faster.

• Moved page options, continuity audit, and detailed reporting into expandable sections lower on the page.

• Preserved existing load actions, selection behavior, and downstream workflow continuity.

v188

• Dispatch now opens with a calmer execution overview instead of forcing users through a long stack of support surfaces before they reach the board.

• Added restrained execution visuals for assignment pressure, movement, billing-next pressure, selected work, stage mix, and dispatch priority pressure.

• Moved batch tools, selected-work tools, scan-speed helpers, support queues, and reporting into expandable sections so the board stays easier to understand.

• Preserved live execution capability, support queues, reporting, and selected-work consolidation without stripping approved functionality.

v187.1

• Added explicit generic typing to the `useMemo` calls that build `actionPressureItems` and `financePressureItems` in `app/(dashboard)/dashboard/page.tsx`.

• Preserved the v187 dashboard simplification and visualization feature scope without rollback.

v187

• Reduced first-page complexity on `/dashboard` by removing the former stacked reporting hierarchy from the default scan path.

• Added visual summary cards and compact chart-style sections for load mix, action pressure, and billing/collections pressure.

• Kept alerts, activity, assignment reminders, and invoice readiness visible while shifting heavier reporting into an expandable lower section.

v186

• Rebuilt the main logged-in shell around a calmer SaaS-style navigation frame.

• Added grouped accordion sidebar navigation with clearer feature grouping.

• Added active-route highlighting and saved open/closed section continuity.

• Added a page-aware topbar so each workspace area explains its purpose more clearly.

• Kept Super Admin separation untouched.

v185 - Dispatch selected-work action consolidation

• Replaced the three separate selected-work acceleration, exception, and cleanup cards on `/dispatch` with one consolidated selected-work action center.

• Kept reopen, quick assign, advance-selected, reset, exception review, cleanup trims, and queue handoff actions in one surface so dispatchers can finish one selected-work pass without bouncing across multiple blocks.

• Preserved schema-safe frontend/service-layer scope with no Prisma schema changes.

v182 - Dispatch selected-work queue handoff refinement

• Added selected-work queue handoff cards on Dispatch to reopen assignment, movement, closeout, and exception lanes from the current selected-work context.

• Kept selected-work acceleration and status harmoni

v181 - Dispatch selected-work status harmonization

• Added harmoni

v179

• Added a new Dispatch selected-workflow acceleration section on /dispatch.

• Added direct first-selected open, quick-assign, advance-selected, and reset-selected actions.

• Added selected status mix visibility so selected work remains easier to continue.

v178 - NextPhase

• Added a new dispatch quick-action continuity strip near the top of `/dispatch`.

• Added continuity cards for unassigned work, same-day movement, delivered handoff, and selected-work follow-through.

• Preserved the dispatch-first page structure while making repeat board jumps faster.

v177 - Dispatch-first polish continuation

• Added a dispatch-first launch rail on /dispatch with Now / Next / Then quick actions for unassigned work, live movement, and delivered handoff follow-through.

• Kept the board centered on the first three operator moves without removing existing support or reporting surfaces.

v176

• Intelligence workspace now supports live external search results through /api/intelligence/external-search.

• Search results blend seeded opportunity cards with live external results when available.

• Added external data completion visibility panel with live/fallback mode and fetch timing.

v175 - Load management continuity audit

• Added `/api/loads/continuity` to audit coverage, date anchors, movement paperwork, invoice handoff, and collections continuity across active loads.

• Added `components/loads/load-management-continuity-audit.tsx` and surfaced it on both `/loads` and load detail for one shared continuity view.

• Added prompt and gap visibility for missing execution coverage, date gaps, movement document drift, delivered-but-uninvoiced loads, and invoiced-but-unpaid loads.

v174

• Added a new Dispatch execution audit section to keep the board centered on assignment pressure, movement exceptions, and closeout drag.

• Added execution prompts and focused queue shortcuts so the dispatcher can jump into the correct lane faster.

• Refined Dispatch without weakening existing support surfaces.

v173

• added demo reset readiness endpoint at `/api/demo/readiness`

• added demo readiness review surface on Dashboard

• added `demo:readiness:foundation` and `demo:reseed:verified` package commands

• added readiness CLI script to validate env, files, scripts, schema visibility, and basic seeded baseline

• updated demo reset documentation for the safer command flow

v172 - Documents lifecycle unification

• Added `/api/documents/lifecycle` to unify classic document records and load lifecycle stages into one document lifecycle snapshot.

• Added a reusable `DocumentLifecycleUnification` surface and exposed it on both `/documents` and load detail so workspace and record views stay aligned.

• Added lifecycle-stage visibility for rate confirmation, BOL, POD, orphan documents, and field-visibility context without Prisma schema changes.

v171

• Baseline advanced from v170.1 to v171.

• Added `/api/assignments/audit` to audit live load coverage, missing load-target assignments, overdue load assignments, and ready loads still waiting on coverage.

• Added an Assignment closure audit section to `/dispatch` so dispatchers can see live assignment integrity gaps without leaving the main execution workspace.

• Normali

v170 - NextPhase

• Added `/api/notifications/closure` so Notification Center and Dispatch can read one closure snapshot that combines sender readiness, notification preferences, assignment queue pressure, and recent outbound email behavior.

• Added `components/notifications/notification-closure-audit.tsx` and surfaced it on `/notifications` as a full closure summary and on `/dispatch` as a compact closure strip.

• Added reminder lane coverage, action prompts, and delivery-behavior visibility so operators can tell whether in-app, email, team-digest, and reserved SMS lanes are aligned with current queue pressure.

v169 - NextPhase

• Added `/api/routes/services` for lane-based roadside support review.

• Added `src/modules/routes/route-services.service.ts` to geocode pickup/delivery, calculate a corridor midpoint, and search OpenStreetMap roadside support data.

• Upgraded the `/routes` **Stops & services** panel from placeholder-only to a live/fallback support-watch surface.

• Added pickup, corridor, and delivery service-watch

v168 - Route mapping and ETA integration foundation

• Added `/api/routes/mapping` and `src/modules/routes/route-mapping.service.ts` to resolve first-pass pickup-to-delivery lane mapping using Open-Meteo geocoding plus OSRM route service.

• Upgraded `/routes` mapping and timing panels to show live lane mileage, drive-hour estimate, alternate lane summaries, and mapping release guidance with fallback behavior when live lookup is unavailable.

• Preserved schema safety and kept the work inside the frontend/service-layer plus internal API branch.

v167 - Route weather integration foundation

• Added a dedicated `/api/routes/weather` foundation endpoint that builds a first-pass route weather review from pickup and delivery locations.

• Added a route weather service that geocodes lane endpoints, fetches forecast data, and returns pickup, corridor, and delivery checkpoint risk summaries with graceful fallback mode.

• Upgraded the `/routes` Weather panel from placeholder-only UI to a live weather review surface with route release guidance and checkpoint cards.

v166

• Hardened `/routes` API response handling so the page safely accepts wrapped payload objects or direct arrays.

• Added stale-selection cleanup so invalid preselected load, truck, or driver IDs are safely cleared instead of breaking the route workspace.

• Added route dataset health visibility for loads, trucks, and drivers.

v165 - Intelligence follow-up logging continuity

• CRM timeline entries created from Intelligence kickoff now carry hidden continuity metadata in the saved activity content.

• Timeline cards now show an Intelligence logged badge and visible continuity summary when the activity was created from the Intelligence kickoff workflow.

• This preserves research-origin context after the activity is saved without Prisma schema changes.

v164 - Intelligence follow-up sequence execution

• Added sequence-step kickoff actions on company, shipper, and broker Intelligence review surfaces so operators can prep step 1, step 2, or step 3 directly from the suggested sequence.

• Expanded the CRM timeline kickoff banner to show the active sequence step and added Apply step 1 / 2 / 3 actions that reframe the composer for the chosen step.

• Preserved schema-safe frontend/service-layer scope.

v163

• Added a structured suggested follow-up sequence on Company, Shipper, and Broker detail pages when opened from Intelligence review context.

• Expanded the follow-up kickoff card to show first touch, backup move, and a three-step recommended sequence.

• Expanded the CRM timeline kickoff banner so the carried Intelligence draft now also shows the recommended sequence.

v162

• Added richer Intelligence follow-up planning on Company, Shipper, and Broker detail review pages.

• The follow-up kickoff area now shows a suggested first-touch recommendation, backup move, and outreach objective.

• Expanded the CRM timeline kickoff banner so it carries visible Intelligence context including lane/service, contact hint, objective, and recommended follow-up date.

• Added a one-click **Reapply kickoff draft** action in the CRM timeline composer.

v161

• Baseline advanced to v161.

• Intelligence CRM review now supports follow-up kickoff into the CRM timeline composer.

• Company, shipper, and broker detail pages can now prefill call, email, and task follow-up activities from Intelligence review context.

• Shipper detail page now has the same Intelligence review continuity as company and broker detail pages.

• Next planned package: v162.

v160

• Baseline advanced from v159 to v160.

• Intelligence duplicate-review decision support now appears on Company, Shipper, and Broker detail pages when operators open records from the Intelligence matching-list workflow.

• CRM detail review now shows a second decision-support card with match signals, clearer duplicate-risk guidance, and direct actions to keep working the current record or create a separate one.

• Intelligence record-review banners now surface an explicit recommendation label so operators can move faster without losing the research-origin context.

Current baseline: v159

Next planned package: v161

v159

• Baseline advanced from v158 to v159.

• Intelligence matching-record review now continues onto Company, Shipper, and Broker detail pages when operators open a record from the Intelligence matching-list handoff.

• CRM detail pages now show an Intelligence record-review banner with research lead context, lane/service summary, duplicate-risk guidance, and one-click actions to return to the matching list, return to Intelligence, or create a separate CRM record.

• Intelligence-to-CRM continuity now survives all the way from research results to list review to record-detail review without dropping the operator into a blind duplicate-check step.

Current baseline: v158

Next planned package: v160

v158

• Baseline advanced from v157.1 to v158.

• Intelligence matching-list handoff is now explicit on Companies, Shippers, and Brokers list pages before operators create new CRM records.

• Matching CRM lists now show an Intelligence list handoff banner with recommended stage, follow-up timing, filtered match count, and one-click return/create actions.

• Matching CRM list action bars now preserve the Intelligence create path instead of dropping operators back into a blank manual create flow.

• CRM report context labels now recogni

v157

• Baseline advanced from v156 to v157.

• Intelligence now shows CRM intake guidance with recommended stage and follow-up timing before leads move into CRM.

• Intelligence result cards and shortlist items now include direct matching CRM list actions in addition to create-flow handoff.

• Company, Shipper, and Broker create forms now show a structured Intelligence context card and apply recommended stage/follow-up defaults during create intake.

• CRM Overview now shows intake guidance shortcuts back into the matching CRM entity lists when opened from Intelligence.

Current baseline: v156

Next planned package: v158

v156

• Intelligence result cards now include **Create in CRM** actions.

• Saved shortlist cards now include **Create in CRM** and **Open CRM Overview** actions.

• Entity type is routed into the matching CRM create flow for company, shipper, or broker intake.

• Opening CRM Overview from Intelligence now carries mode and query context.

• CRM Overview shows a visible **Intelligence handoff** banner so the operator knows they are still working from research-origin workflow context.

• **New Company**, **New Shipper**, and **New Broker** now read Intelligence intake parameters.

v155

1. Intelligence results and shortlist items now open CRM create flows directly.

2. Added carried-context lead intake for:

- companies

- shippers

- brokers

3. CRM create forms now prefill lead name plus carried research notes from Intelligence.

4. CRM Overview now shows an Intelligence handoff banner when opened from the research workflow.

5. Root documentation updated for v155 continuity.

v154

• Added a dedicated **`/intelligence`** workspace for research and outreach planning.

• Kept Ask CORI clean as general in-app guidance while separating market and outreach research into its own workspace.

• Added three workspace modes:

• Added first-pass opportunity result cards with:

• Added the first specialized **Intelligence CORI** surface for:

• Added entry points to Intelligence from:

v153

• Added a dedicated **`/routes`** workspace.

• Route planning is now separated from **Ask CORI**.

• The dispatcher must select **Load + Truck + Driver** before route guidance becomes active.

• Added the first specialized **Routes CORI** conversation area.

• Added first-pass foundation blocks for:

• Added entry points to Routes from:

v152

Ask CORI workspace redesign

• Rebuilt **Ask CORI** into a cleaner chat-first workspace.

• Reduced the amount of always-open support content competing with the conversation area.

• Made the central AI conversation the dominant surface.

Right-side utility cleanup

• Moved support material into **collapsible utility panels** instead of keeping everything open at once.

• Kept the right rail useful without making the page feel crowded.

CORI foundation preserved

• Preserved current **starter prompts**, **context-driven entry**, and **plain-language dispatcher guidance**.

• Preserved **document upload**, **document extraction**, **matching-load review**, and **dispatcher-approved stage update** flows.

• Preserved CORI’s use as a guided operations assistant rather than a generic chat widget.

---

v151

• Added CORI fit ideas visibility to Dashboard and linked fit suggestions to Notifications and Load Board.

• Added Open Notifications routing inside CORI load-fit suggestions.

v150

• Added CORI load-fit notifications foundation with a new notifications section that suggests open truck/load matches and links into Ask CORI, Dispatch, and the Internal Load Board.

v149

• Added Internal Load Board foundation page and navigation entry.

• Introduced first-pass opportunity/review workspace connecting Loads, Dispatch, and Ask CORI.

v148

• CORI mailbox intake foundation added

• Ask CORI sidebar support panel updated

• mailbox foundation documentation added

v144

• CORI contextual workflow integration phase 1

• Sidebar label changed from CORI to Ask CORI

v143 - CORI page foundation

• Added a new in-app CORI workspace at /cori with chat-style UI, starter prompts, and plain-language dispatch guidance.

• Added CORI to main operations navigation so users can ask questions about dispatching, alerts, billing, documents, and next steps without leaving the platform.

v140

• Added realistic scenario seed pack phase 3 commands.

• Updated canonical seed defaults so demo admin uses support@dispatchspot.com, demo owner/workspace admin uses jcampbell.fa

v139

• Added realistic scenario seed pack phase 2 foundation scripts and documentation.

• Added `demo:seed:scenario:phase2` and `demo:reseed:scenario:phase2`.

• Added `REALISTIC_SCENARIO_SEED_PACK_PHASE_2.md`.

v137 - demo data reset and reseed foundation

• Added repeatable demo reset and demo reseed foundation scripts.

• Added foundation documentation for clearing existing data and preparing scenario-driven demo reseed passes.

• Next planned package: v138 realistic scenario seed pack, phase 1.

v133 - Visible language simplification pass, phase 1

• Simplified visible UI wording across Dashboard, Dispatch, Loads, Billing, Documents, CRM, and shared navigation without changing behavior.

• Replaced abstract/internal labels with shorter everyday wording intended to be easier for first-time and non-technical users.

• Preserved all current workflows, metrics, and continuity while reducing hesitation around labels and actions.

v132 - Build 10 — final declutter and adoption pass

• Tightened Dashboard, Dispatch Board, and Loads microcopy and labels so the pages scan faster.

• Reinforced page roles: Dashboard = step-back summary, Dispatch Board = live execution, Loads = list-first record management.

• Preserved dispatch-first workflow, new secondary surfaces, and controlled complexity settings while reducing visible framing text.

• Ready to transition from surface-decompression into the next roadmap track.

v131

• Cross-surface continuity polish added.

• Billing & Collections and Documents & Compliance now preserve return paths and matching load links from Dispatch Board and Loads.

• Core links into the new secondary surfaces now carry source context and return-to continuity.

v129

• Controlled complexity settings v1 added to Dashboard, Dispatch Board, and Loads with local device/browser persistence.

• Added focus mode and expanded mode presets plus show/hide toggles for major support modules so users can simplify their own layout without losing access to metrics.

v128

• Documents & Compliance surface introduction added as a dedicated secondary workspace in the dispatch-first simplification track.

v127

• Billing & Collections surface introduced as a dedicated secondary workspace in the dispatch-first simplification track.

v126 - Build 4: Loads reduction pass

• Loads top-of-page support rails compressed so the load list starts sooner.

• Selection, continuity, billing, and compliance cues kept available but with less competing framing.

• Next planned package: v127 Build 5 Billing & Collections surface introduction.

v124 - Truck-to-load assignment acceleration

• Dispatch Board now surfaces the next ready trucks and top visible load candidates above the live board.

• Added one-click quick assign entry from the board with the next truck optionally preselected in the assignment modal.

• Kept Dashboard as the step-back surface while making the assignment loop easier to repeat directly from Dispatch Board.

• v125 - Build 3: Dashboard reduction pass completed. Dashboard helper stacks compressed into lighter summary and reporting launch sections.

v123 - Dispatch-first entry priority

• Dispatch Board promoted as the default live operating surface.

• Login now lands workspace users on /dispatch.

• Dashboard explicitly repositions itself as the step-back summary surface once trucks are covered or wider decisions are needed.

• Sidebar operation order now reflects dispatch-first usage.

v120

• Baseline advanced from v119 to v120.

• Dashboard now adds a clearer summary-card hierarchy strip so summary lanes scan in a more deliberate order before drill-down.

• Dispatch Board now keeps scan-speed continuity visible with a recoverable last-preset path.

• CRM Overview now tunes workflow shortcut density so follow-up, hot, and active shortcuts stay compact near the top.

Current baseline: v119

Next planned package: v121

v118

• Completed MVP track E16 reporting-and-visibility minimums bundle: loads record-management clarity refinement, dashboard action-routing consistency cleanup, and CRM cross-list continuity strengthening.

• Baseline after this package: v118.

• Next planned package: v119 MVP track E17 reporting-and-visibility minimums bundle.

v116

• Baseline advanced from v115.1 to v116.

• Dispatch Board now shows a compact lane-density cleanup strip so board pressure is visible before scanning each lane.

• Loads now strengthens list-state persistence with a saved-state restore path inside the queue-action continuity block.

• CRM Overview now adds follow-up queue visibility counts so due-now, due-today, and due-soon work is easier to scan before opening detail records.

Current baseline: v115.1

Next planned package: v117

v115

• Completed MVP track E13 reporting-and-visibility minimums bundle: loads bulk-action safety and continuity refinement, dashboard drill-down destination clarity, and CRM overview-to-detail handoff cleanup.

• Baseline after this package: v115.

• Next planned package: v116 MVP track E14 reporting-and-visibility minimums bundle.

v114

• Completed MVP track E12 reporting-and-visibility minimums bundle: loads queue-priority scan refinement, dashboard reporting section compression, and CRM list action-bar consistency polish.

• Baseline after this package: v114.

• Next planned package: v115 MVP track E13 reporting-and-visibility minimums bundle.

v113

• loads action-rail clarity refinement

• dashboard exception-to-workflow continuity polish

• CRM overview decision-lane cleanup

v112

• loads list-to-detail continuity polish

• dashboard workflow jump density refinement

• CRM overview scanning balance cleanup

v111

• Baseline advanced from v110.1 to v111.

• Polished Loads queue-action continuity so list filters can move more cleanly between the load list, dispatch board, and queue-driven actions.

• Refined dashboard reporting hierarchy with clearer step-by-step grouping from workflow jump to queue health review.

• Compressed CRM overview workflow controls so top actions and entity actions scan faster without changing the underlying routes.

Current baseline: v110.1

Next planned package: v112

v110

• Baseline advanced from v109 to v110.

• Polished the Loads action lane so the density strip now includes direct assignment, movement, invoice, and collections lane pivots.

• Cleaned up dashboard reporting scan order with lighter section cues and visible exception counts.

• Refined CRM entity-workflow prioriti

v109

• Baseline advanced from v108 to v109.

• Added load-list workflow density polish to compress list controls above the Loads table.

• Added dashboard exception routing shortcuts so reporting can hand operators directly into action views.

• Strengthened CRM overview/list continuity with cross-list report handoff actions.

v108

• v107 is the stable baseline before this package.

• v108 completes MVP track E6 reporting-and-visibility minimums with dashboard summary-to-workflow cohesion, dispatch board workload compression refinement, and CRM list/report handoff polish.

• Dashboard reporting drill-downs now carry the active truck and period scope forward into the next workflow.

• Dispatch Board compresses priority, selection, and queue-state controls into a tighter single workload strip so the live board reaches the screen faster.

• CRM report handoff banners now include direct actions to return to CRM Overview or clear the carried report context without losing list filters.

• No Prisma schema changes are required in v108.

Current baseline: v107

Next planned package: v109

v107

• v106.1 corrected the Loads page reporting scope bug and is the stable baseline before this package.

• v107 completes MVP track E5 reporting-and-visibility minimums with dashboard reporting continuity polish, dispatch scan-speed refinements, and CRM overview actionability cleanup.

• No Prisma schema changes are required in v107.

Current baseline: v106.1

Next planned package: v108

Current baseline: v104

Next planned package: v105

• v104 completes MVP track E2 reporting-and-visibility minimums with dispatcher throughput visibility, stage-conversion reporting, and queue-outcome continuity.

• Added dispatcher throughput reporting cards to Dashboard, Dispatch Board, and Loads so visible queue flow can be scanned without leaving the current surface.

• Added queue-outcome continuity reporting across Dashboard, Dispatch Board, and Loads to keep assignment-ready, moving, billing-converted, and closed-paid checkpoints aligned.

• Added CRM overview stage-conversion reporting using live stage-mix ratios for lead-to-engaged, warm-to-hot+, hot-to-active+, and active-to-premium visibility.

• No Prisma schema changes are required in v104.

Current baseline: v102.3

Next planned package: v103

Current baseline: v101.4

Next planned package: v102

Current baseline: v100.1

Next package: v101

• v101 adds dispatcher day-summary visibility on Dashboard plus shared operator KPI continuity and load-state reporting surfaces on Dashboard, Dispatch Board, and Loads without Prisma changes.

Current baseline: v99

Next package: v100

• v100 adds batch-queue workflow safeguards, smarter quick-assign defaults, and stronger exception emphasis across Dispatch Board and Quick Assign without Prisma changes.

v99

• polished bulk next-step execution so batch actions show actionable counts instead of raw selection counts

• added board lane action compression with Select lane, Open top, and Advance top controls

• added dispatch-day prioriti

v98

• Added inline queue batching on Dispatch Board and Loads.

• Added batch select / open-first / quick-assign-first / advance-selected actions.

• Refined high-volume board scanning with triage-sorted lanes and lane header risk counts.

Current baseline: v96

Next package: v97

• v97 adds keyboard-first filtering shortcuts, stronger rapid load triage cues, and dispatcher save/return flow refinement without Prisma changes.

Current baseline: v94

Next package: v95

• v95 adds dispatcher productivity bundle improvements: board interaction speedups, reduced click-path execution through URL-persisted queues, and high-frequency workflow polish across Dispatch Board, Loads, and board cards without Prisma changes.

Current baseline: v93

Next package: v94

• v94 adds document-category enforcement prompts, invoice-package completeness visibility, and operator-ready document queue refinement across load detail, invoice workflow, load create/edit, and Dispatch Board without Prisma changes.

Current baseline: v92

Next package: v93

• v93 adds a document-upload intake surface, field / office document visibility split, and document-access workflow hardening across load detail, invoice workflow, and load create/edit without Prisma changes.

Current baseline: v91

Next package: v92

• v92 adds broker-document intake visibility, document-capture workflow prompts, and document-status continuity across load detail, invoice workflow, load create/edit, and Dispatch Board without Prisma changes.

Current baseline: v90.1

Next package: v91

• v91 adds driver-document readiness, truck compliance visibility, and dispatch-blocker surfacing across load detail, load edit/create assignment flow, and Dispatch Board without Prisma changes.

Current baseline: v89

Next package: v90

• v90: Added load-level document readiness visibility, missing-file operational prompts, invoice-side compliance surfacing, and a Dispatch Board compliance follow-up queue without Prisma changes.

Current baseline: v79

Next package: v80

• v80 begins MVP onboarding bundle work for broker, shipper, and client/company readiness surfaces.

• Added onboarding readiness, contact readiness prompts, and missing-data visibility without Prisma schema changes.

Current baseline: v78

Next package: v78.1

Current baseline: v77

Next package: v78

• v77: Admin control plane separation foundation with /admin routing, separate admin login, separate admin shell, and server-side super admin layout enforcement.

v83

• Hardened workspace route entry with server-side organi

v82

• MVP track A4 billing bundle: invoice readiness prompts, payment follow-up visibility, and operational billing handoff surfaces.

v81

• MVP track A3 onboarding + compliance bundle: document readiness panels, missing compliance prompts, and onboarding-to-operational handoff visibility.

v79 - MVP track A1 dispatch execution bundle

• Added Dispatch Board next-action strip with operational counts for dispatch assignment, pickups, deliveries, check calls, invoicing, payment follow-up, and exceptions.

• Added load-level operational execution card with quick lifecycle actions, exception flags, and pickup/delivery/check-call visibility.

• Expanded Dispatch Board load cards with operational next-action hints and quick invoice access.

v78 - Admin auth surface hardening and legacy super-admin route cleanup

• Added separate admin pages for workspace provisioning and notification governance under /admin.

• Redirected super admins away from legacy workspace-facing /workspaces and /notifications routes into the admin control plane.

• Hardened login flow so Super Admin sign-in is rejected on the workspace login surface and directed to /admin/login.

v76.2

• Added MVP readiness check-in and roadmap reset documentation.

• Mapped the product into MVP-ready now, MVP missing, and post-MVP.

• Reprioriti

v76

• Added Super Admin decision consistency checks to verified custom-domain request records.

• Added governance closure guidance visibility to help reviewers judge closure, pause, rejection, and held-approval states.

• No Prisma schema changes.

Current baseline: v71

Next package: v72

v72

• Added Super Admin reviewer workload summaries to the verified custom-domain governance surface.

• Added governance escalation prompts for unassigned, paused, and approved-held request states.

Current baseline: v69

Next package: v70

v69

• Added final review summary surfaces to Super Admin verified custom-domain request records.

• Added governed activation hold-state visibility with blockers and later-readiness messaging.

• No Prisma schema changes.

v68

• Added Super Admin verified custom-domain DNS verification outcome placeholders on request records.

• Added launch-readiness governance notes so approval remains clearly separated from live sender activation.

• Preserved the existing verified custom-domain request model with no Prisma schema changes.

v67

• Added Super Admin verified custom-domain DNS record instruction surfaces and approval decision guidance in Notification Center.

• Added `.env.example` with SMTP and email 2FA settings so server operators can expand `.env` safely without in-app credential storage.

• Updated deployment guidance for SMTP, sender identity, and auth email environment variables.

v66

• Added Super Admin DNS validation checklist scaffolding on verified custom-domain request records.

• Added approval handoff notes visibility on verified custom-domain request records.

• No Prisma schema changes.

v65 - super-admin verified custom-domain review timeline and approval readiness checklist visibility

• Added a review timeline to each verified custom-domain request record so Super Admin can see submission, review, qualification, approval, rejection, and pause progression in one place.

• Added an approval-readiness checklist to each verified custom-domain request so governance decisions can be evaluated against captured domain, business, DNS, reply-handling, and review-state signals.

• Preserved the existing verified custom-domain request model with no Prisma schema changes.

Current baseline: v64

Next package: v65

v62 - super-admin verified custom-domain request intake foundation and governance review queue scaffolding

• Added Super Admin verified custom-domain request intake foundation surfaces, including governed request fields, qualification checks, and submission notes.

• Added governance review queue scaffolding visibility so Super Admin can see the future intake-to-review path before live custom-domain activation exists.

• Preserved platform-managed SMTP and sender-domain policy with no Prisma schema changes.

Current baseline: v61.1

Next package: v62

v61 - super-admin sender policy help center and verified custom-domain governance queue planning

• Added super-admin sender policy help-center surfaces in Notification Center.

• Added governed verified custom-domain queue planning visibility for Super Admin.

• Preserved platform-managed SMTP and sender-domain governance model.

Current baseline: v60

Next planned package: v61

v60

• Added super-admin notification governance foundation and platform sender control surfaces.

• Added super-admin notification governance API route and Notification Center platform control visibility.

• Exposed Notification Governance in super-admin sidebar navigation.

v59 - Notification center sender-preview test tools and governed custom-domain readiness planning

• Added sender-preview test tools in Notification Center, including live preview email sending to the signed-in user through the platform-managed SMTP lane.

• Added a dedicated sender preview API surface and readiness metadata for workspace-facing sender preview cards.

• Added governed custom-domain readiness planning visibility, including checklist items and supported-later rollout notes.

Current baseline: v58

Next package: v59

v58 - Notification reply-to governance controls and workspace-facing sender branding surfaces

• Added governed reply-to visibility so workspace-facing notification surfaces can distinguish platform-owned transport from workspace reply-to flexibility.

• Added workspace branding previews in Notification Center and Profile & Security using platform sender identities with workspace-facing presentation.

• Extended notification readiness metadata with reply-to governance and branding mode indicators without changing the Prisma schema.

Current baseline: v57

Next package: v58

v57 - Notification delivery audit summaries and sender-policy help surfaces

• Added delivery audit summary tiles for recent outbound email outcomes in Notification Center.

• Added top-template activity summary for recent outbound email events.

• Added sender-policy help surfaces explaining platform-managed sender governance, governed reply-to behavior, and future verified custom domain rollout.

• Extended Profile & Security with sender-policy guidance aligned to the platform-managed SMTP architecture.

Current baseline: v55

Next package: v56

v56 - notification delivery governance surfaces and platform sender identity visibility

• Added platform-managed notification governance visibility so workspace-facing surfaces now show that raw SMTP ownership remains controlled above the workspace layer.

• Added platform sender identity visibility for default, security, and alerts sender lanes, including from name, from address, reply-to, and delivery purpose.

• Clarified that verified custom-domain sending is a later governed feature rather than an open workspace SMTP configuration path.

Current baseline: v54

Next package: v55

Current baseline: v52

Next package: v53

v55

• Added email 2FA per-user override visibility and environment-backed override controls.

• Added trusted-session grace revocation route and protected-session revocation visibility.

• Logout now clears trusted email 2FA browser grace cookie.

• v62: Added verified custom-domain request records, workspace-admin intake submission workflow, Super Admin review queue records, and governed request status scaffolding.

• v71: Added Super Admin verified custom-domain reviewer assignment visibility and governed next-step action prompts.

• v73: Added Super Admin verified custom-domain queue aging visibility and governance response-priority prompts.

• v74: Super Admin verified custom-domain reviewer follow-up reminders and governance backlog health visibility.

v54 - Email 2-factor trusted-session grace logic and challenge audit visibility

• Added trusted-session grace handling for email 2FA policy-covered users through a signed trusted browser token.

• Added protected-session visibility for grace-active email 2FA sessions, including trusted-until timing.

• Added login challenge audit visibility for recent issued, verified, locked, and expired login challenge events.

• No Prisma schema changes.

v53 - email 2-factor authentication resend cooldown, attempt governance, and failure-state visibility

• Added Prisma-backed login challenge governance fields for resend counts, failed attempt counts, last sent timestamps, last attempt timestamps, and lock state.

• Added resend cooldown enforcement, resend limit governance, and lock-after-failed-attempt handling for email 2-factor login challenges.

• Expanded login challenge API responses and login page UI to surface attempts remaining, resend availability, and locked challenge state.

Current baseline: v51

Next package: v52

Current deployed baseline: v50.1

Next planned package: v51

Current deployed baseline: v49

Next planned package: v50

Current baseline: v48

Next planned package: v49

v52

• Added deployment-level email 2FA policy controls via environment-backed governance.

• Added protected-session challenge visibility to auth session surfaces, profile, notification center, and top bar.

v51 - email 2-factor authentication challenge foundation

• Added privileged-login email challenge flow using the existing auth email token model with LOGIN_CHALLENGE issuance, verification, expiry, and single-use handling.

• Updated the login route and login page to support two-step sign-in when SMTP delivery is active for super admin and workspace admin accounts.

• Added resend support for sign-in challenge codes and surfaced the login challenge readiness state in Notification Center and Profile & Security.

v48 - live SMTP notification delivery foundation and auth email workflow scaffolding

• Added SMTP delivery activation support with SMTP_ENABLE_DELIVERY, raw SMTP transport handling, outbound email logging, and Notification Center test-email actions.

• Added Prisma models for outbound email logs and auth email tokens.

• Added scaffold routes for signed-in email verification requests and anonymous password recovery requests.

• Added placeholder auth pages for verify-email and reset-password handoff links.

v47 - SMTP-backed notification delivery preparation and user notification preference persistence

• Added Prisma-backed user notification preferences with API persistence for Notification Center and CRM assignment panels.

• Added SMTP readiness service and API surface so configured host, sender, and missing fields are visible without activating live outbound email yet.

• Added notification architecture scaffolding in code to prepare the shared SMTP-backed delivery layer.

v46 - CRM notification center foundation and assignment alert preferences

• Added a Notification Center workspace page with assignment-backed inbox preview and alert preference controls.

• Added browser-persisted assignment alert preferences as a no-schema foundation for future email and SMS transport delivery.

• Added quick Notification Center access from workspace navigation.

• Added assignment panel preference toggles linked to the Notification Center.

v45 - CRM assignment notification hooks and overdue escalation visibility

• Added computed notification hooks for assignment queues and assignment panels.

• Added escalation lane visibility for normal, watch, action-today, and escalated assignment states.

• Expanded queue summaries to surface escalated assignment counts without changing the Prisma schema.

Current baseline: v43.1

Next planned package: v44

CURRENT CANONICAL BASELINE

Version: v43.1

Status: CRM timeline edit and deletion governance refinement

Next planned package: v44

v44 - CRM assignment completion workflow and history visibility

• Added assignment completion and reopen actions to CRM and load assignment panels with optional operator notes.

• Added governed assignment status action handling for org admins and current assignees.

• Added CRM assignment history visibility by surfacing recent assignment task events directly in the assignment panel.

v43 - CRM assignment reminders and assignee queue visibility

• Added assignment reminder visibility with overdue, due today, due soon, and upcoming states across CRM and load assignment handling.

• Added assignment queue API support so users can see their own open work and org admins can also review team-level queue pressure.

• Added dashboard and dispatch workspace assignment queue cards with open, overdue, due-today, and urgent visibility.

• Expanded assignment panels with clearer due-state reminders, assigned-by visibility, and last-updated timing.

v42 - CRM timeline edit and deletion governance refinement

• Added governed CRM timeline editing with reason capture, edited-by visibility, and updated timeline cards.

• Added soft-delete governance for supported activity types with role-aware delete controls and deletion reason capture.

• Added timeline API support for PATCH and DELETE operations and updated Prisma schema for edit/deletion audit metadata.

• v49: Added auth token consumption flows for email verification and password reset, including token validation, single-use handling, expiry enforcement, and password reset completion.

v41 - CRM and load assignment workflow foundation

• Added structured assignment architecture for CRM entities and loads with primary assignee, supporting assignees, instructions, expected outcome, due date, priority, and status.

• Added assignment control panels to CRM detail pages and load detail pages.

• Added auto-assignment for dispatcher-created supported CRM records and dispatcher-created loads, with workspace admin override capability.

• Reserved v42 for CRM timeline edit and deletion governance refinement.

v40 - CRM timeline filtering and operator visibility refinement

• Added timeline filter controls for activity type, activity status, operator, and free-text search on CRM detail pages.

• Added visible-entry count and filter summary so operators can quickly understand how much timeline data is in scope.

• Added operator visibility chips on activity cards and a my-activity filter driven by the signed-in user session.

v39.1 - canonical documentation architecture expansion

• Added AUTH_AND_IDENTITY_PLAN.md covering email verification, password reset, email 2FA, token governance, and security event logging.

• Added NOTIFICATIONS_AND_MESSAGING_PLAN.md covering SMTP integration, notification service architecture, email delivery governance, and future SMS support.

• Added SUPER_ADMIN_AND_PLATFORM_GOVERNANCE_PLAN.md covering platform administration boundaries, schema registry control, support tooling, and audit requirements.

• Added SUBSCRIPTIONS_AND_ENTITLEMENTS_PLAN.md covering workspace billing, plan enforcement, seat governance, and entitlement architecture.

• Updated PROJECT_HANDOFF.md, DEVELOPMENT_PROTOCOL.md, ARCHITECTURE_ROADMAP.md, and DEPLOY_CHECKLIST.md to make these architecture streams part of the permanent roadmap.

v39 - CRM activity creation speed refinement

• Added quick-add activity presets for note, call, email, follow-up, and meeting creation directly inside the CRM timeline composer.

• Added one-tap due date shortcuts and Ctrl/Cmd+Enter save support to reduce CRM activity logging friction.

• Added a clear composer reset action so operators can move quickly between multiple CRM updates on the same record.

v38 - CRM detail-page operational action bar refinement

• Added a reusable CRM detail action bar component for broker, driver, company, owner operator, and shipper detail pages.

• Added direct contact actions, linked-record shortcuts, section jump links, and integrated deactivate/reactivate lifecycle actions on CRM detail screens.

• Removed the detached bottom-of-page lifecycle toggle button in favor of the new top operational action bar.

v37 - CRM list-to-detail workflow refinement

• CRM list pages now preserve current filters and search state when opening detail and edit views via returnTo routing.

• CRM detail pages now include structured back-to-list actions, lifecycle/status badges, and summary strips for faster orientation after drill-down.

• Broker, driver, company, owner operator, and shipper detail surfaces were normali

v36

• CRM overview actionability refined with priority workflow cards, entity drill-down actions, and CRM list pages that can open with quick-filter state from overview links.

v35

• Improved CRM Overview mobile responsiveness with better stacking, spacing, and mobile-safe section layouts.

• Added mobile-friendly CRM quick actions and full-width follow-up record actions on smaller screens.

v34 - CRM dashboard overview groundwork

• Added a dedicated CRM Overview surface at /crm.

• Added CRM overview API/service groundwork for cross-entity pipeline health, stage distribution, and due follow-up visibility.

• CRM sidebar now includes CRM Overview above entity list pages.

v33 - Broker and Driver CRM Visibility Alignment

• Added CRM stage badges, follow-up visibility, and quick CRM filters to Brokers and Drivers list pages.

• Added includeInactive support to broker and driver list APIs so CRM views can filter inactive records without creating duplicate entities.

v32 - CRM list-page stage visibility and quick filter refinement

• Added reusable CRM stage badge component for consistent stage visibility on CRM list pages.

• Added reusable CRM list filter controls with quick filters for Hot, Active, Inactive, and Follow-up Due.

• Upgraded Companies, Owner Operators, and Shippers list pages with summary counters, stage badges, search, stage filters, status filters, and follow-up visibility.

v31 - CRM stage controls and quick lifecycle actions

• Added reusable CRM stage controls component for Company, Owner Operator, and Shipper detail pages.

• Added quick lifecycle actions for common stage changes, contact logging, and follow-up scheduling.

• CRM detail pages can now update stage, last contacted date, and next follow-up without leaving the record.

v30 - CRM stage transition visibility and activity auto-logging

• Added CRM activity auto-logging helper for major CRM entities.

• Company, Owner Operator, and Shipper create actions now automatically write a timeline note.

• CRM stage changes now automatically write STATUS_CHANGE timeline entries.

• Deactivate/reactivate actions now auto-log lifecycle events to the CRM timeline.

• CRM timeline UI now gives STATUS_CHANGE entries stronger visual emphasis.

v29

• CRM activity timelines now emphasi

v28 - CRM activity timeline groundwork

• Added CRM activity service groundwork for notes, calls, emails, meetings, tasks, status changes, document events, and other relationship activities.

• Added CRM activity API routes for listing, creating, and marking timeline items complete.

• Added reusable CRM activity timeline UI and surfaced it on Broker, Driver, Company, Owner Operator, and Shipper detail pages.

v27.1

• Added Brokers and Drivers to the CRM navigation section as shared CRM + Operations entities.

• Preserved the single-record rule so Brokers and Drivers remain one source of truth across both CRM and operational workflows.

v27 - CRM UI groundwork

• Added Companies, Owner Operators, and Shippers UI pages for list, detail, create, and edit flows.

• Added CRM sidebar navigation section.

• Added reusable CRM forms and frontend type support for the new CRM entities.

v26 - CRM service groundwork

• Added backend service modules for Companies, Owner Operators, and Shippers.

• Added API routes for listing, viewing, creating, updating, deactivating, and reactivating CRM entities.

• Preserved role-based access for CRM management through org roles.

v25 - CRM schema groundwork

• Added shared CRM lifecycle enums and activity enums

• Added first-class `Company`, `OwnerOperator`, and `Shipper` models

• Extended `Driver` and `Broker` with CRM lifecycle and commercial metric fields

• Added `CRMActivity` groundwork for modern CRM timelines and follow-up history

• Updated canonical documentation to reflect CRM schema direction

v24 - CRM and Partner Lifecycle Architecture

• Added `CRM_AND_PARTNER_LIFECYCLE_PLAN.md`.

• Preserved a full CRM roadmap for Brokers, Drivers, Companies, Owner Operators, and Shippers.

• Documented shared lifecycle stages, Revenue In / Payments Out metrics, and modern CRM expectations including activities, tasks, tags, and reminders.

• Updated project continuity docs so CRM becomes a formal architecture stream.

v23

• Added document visibility enforcement groundwork in the backend service layer.

• Added `/api/documents` and `/api/documents/[id]` API routes.

• Field users are now planned to receive only FIELD_VISIBLE documents tied to their own driver/truck/load context.

v22

• Added schema groundwork for field-visible document access

• Added user-to-driver linkage groundwork

• Added document category and visibility scope enums

• Added document linkage planning across loads, trucks, and drivers

• Added field-facing load instructions groundwork

Update note: v21 activates Projected CPM as a live single-truck dashboard KPI and aligns Actual CPM with target variance context.

v21

• Activated Projected CPM as a live KPI in single-truck dashboard view using truck financial settings.

• Updated Actual CPM to show target and variance context when a truck-level Projected CPM is available.

• Kept Projected CPM hidden from All Trucks view to preserve truck-specific target logic.

v19 - Routing and Distance Planning Documentation Integration

• Added `ROUTING_AND_DISTANCE_PLAN.md`.

• Preserved route-aware load architecture, provider abstraction, and mileage-source planning in the canonical docs.

• Linked routing planning into the project handoff, roadmap, and mobile readiness documents.

v18

• Added `FIELD_OPERATIONS_ACCESS_PLAN.md` to formali

v17.2

• Added dashboard period option: This Week So Far (Monday through today).

• Updated dashboard period types, API validation, and KPI labels to support weekly progress check-ins.

v17

• Added dashboard period selector groundwork with YTD, This Month, and Last 30 Days support.

• Dashboard summary API now accepts period alongside truck scope while preserving one KPI contract.

Changelog

Current Package

• Fixed Quick Assign modal integration on Loads page by passing the current loads collection into the modal.

• Added continuity documentation for future chats and deployments.

• Added professional file-level comments to key dispatch, dashboard, and workflow files.

• Preserved Dispatch Board, dashboard summary, urgency highlighting, and guided status workflow features from the prior working build.

2026-04-12 — Board-level conflict highlighting

• Added board-level truck and driver conflict detection on Dispatch Board cards.

• Conflict loads now display immediate red warning badges and duplicate assignment details.

• Dispatch Board lanes now pass the full workspace load set into each card so conflicts can be evaluated holistically.

2026-04-12 — Dashboard conflict alerts

• Added dashboard operational alerts for active truck and driver assignment conflicts.

• Prioriti

v16.1

• Improved mobile responsiveness for Trucks, Drivers, and Brokers list pages.

• Added phone-friendly stacked cards for small screens while preserving desktop tables.

• Fixed off-screen action buttons on the Trucks page and aligned similar list views to the same responsive pattern.

v15.1 - dashboard KPI refinement

• Average RPM renamed from RPM.

• Average RPM card now renders with a black background and white supporting text.

• Average RPM value shifts to orange below $3.00 and red below $2.50.

• Projected RPM placeholder card now appears only in single-truck scope and remains hidden in All Trucks scope.

• Loads Booked YTD and Cancelled Loads continue to show both count and value.

• Dashboard refinement: Projected CPM now only appears in single-truck scope, matching its truck-specific meaning.

• v16: Added truck-level RPM threshold groundwork with financial-setting fields for projected RPM, average RPM warning threshold, and average RPM critical threshold. Dashboard Average RPM now supports truck-specific thresholds in single-truck view while keeping default thresholds for All Trucks.

v15

• Refined dashboard KPI card order to keep related metrics adjacent.

• Removed the secondary KPI section label and rendered the scorecard as one relational grid.

• Loads Booked YTD and Cancelled Loads now show both count and corresponding booked value.

• RPM card now uses a dark highlight treatment with threshold-based value coloring: orange below $3.00 and red below $2.50.

• Revenue, RPM, CPM, and profit-style dashboard calculations now exclude cancelled loads while still tracking cancelled value separately.

v13 - Load Detail mobile responsiveness and action hierarchy refinement

• Converted load detail actions to a mobile-first stacked hierarchy.

• Added summary metric cards for assignment and financial visibility near the top of the page.

• Improved status control, forms, and payment cards for narrow screens and touch interaction.

• v14: Rebuilt dashboard around workbook-style KPI contract with All Trucks / per-truck scope selector and YTD scorecard metrics.

v348 - Stripe test-mode subscription status/sync review foundation

• Added Super Admin-only Stripe test subscription sync review.

• Added /admin/stripe-sync-review and /api/subscriptions/stripe-test/sync-review.

• Super Admin can fetch a Stripe test subscription, compare saved customer/subscription/subscription item IDs against the selected plan monthly Stripe price ID, and see the first sync fix.

• Provider sync status is updated as synced, needs review, or error based on the test-mode comparison.

• Workspace Admin remains clean; no Stripe controls, checkout, payment method collection, customer portal, live billing, invoices, or charges were enabled.

v372 Workspace Settings tabs and integration cleanup

• Rebuilt `/company` into a cleaner tabbed Workspace Settings page for Profile, Team, and Access & setup.

• Removed visible business phone/Twilio setup panels from Workspace Settings so provider setup stays in `/company/integrations`.

• Kept SMTP credentials in `/company/integrations` under the Email tab.

• Removed duplicate sidebar links for Drivers in CRM, Owner Operators in CRM, and Dispatcher Billing Setup.

• Redirected `/billing/dispatcher-services` to `/company/integrations` because Stripe Connect setup is an integration task.

• Prisma schema impact: none.

v373 Operational surface cleanup

• Clarified Billing vs CORI Financial: Billing is now labeled Billing Records for invoice and unpaid-load follow-up, while CORI Financial remains the AI money briefing.

• Renamed Documents to Paperwork in normal user-facing navigation and topbar copy.

• Simplified Paperwork page wording around missing proof, PODs, BOLs, rate confirmations, and linked files.

• Removed duplicate Drivers and Owner Operators entries from internal CRM navigation and CRM list switching.

• Kept Drivers and Owner Operators under People & Assets.

• Renamed Dispatch Board's deeper reporting drawer to Extra board numbers to reduce analytics-style language.

• Prisma schema impact: none.

v374 List surface cleanup

• Reviewed Loads, Dispatch Board, Routes, Trucks, Drivers, Owner Operators, Companies, Brokers, and Shippers against the Page Usefulness Rule.

• Kept the useful pages but reduced duplicate navigation, retired report/analytics links, visible technical route checks, and CRM/People & Assets crossover clutter.

• Removed the visible detailed reporting drawer and internal continuity audit from Loads.

• Removed visible route data-contract/recovery checks and duplicate route launch cards from Routes.

• Removed CRM workspace navigation and CRM launch cards from Drivers and Owner Operators.

• Removed extra CRM launch-card and quote-call continuity panels from Companies, Brokers, and Shippers.

• Added the v374 List Page Cleanup Rule to `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md`.

• Prisma schema impact: none.

v375 Detail page cleanup

• Reviewed Load, Truck, Driver, Owner Operator, Company, Broker, and Shipper detail pages against the Page Usefulness Rule.

• Simplified detail page subtitles into plainer user-facing wording.

• Collapsed deeper setup, handoff, call-continuity, paperwork-check, assignment ownership, follow-up, and activity-history sections on people/asset and relationship detail pages.

• Replaced several CRM-style visible labels with simpler language such as Paperwork check, Follow-up controls, and Activity history.

• Added the v375 Detail Page Cleanup Rule to `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md`.

• Prisma schema impact: none.

v376 Form, invoice, truck subpage, profile, and settings cleanup

• Reviewed remaining add/edit forms, invoice flow, truck subpages, Profile & Security, Workspace Settings, and Third-Party Integrations against the Page Usefulness Rule.

• Added the v376 Form, Invoice, and Subpage Cleanup Rule to `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md`.

• Simplified add/edit page titles and subtitles with plain action language.

• Collapsed load assignment/paperwork checks behind Show helpful checks.

• Collapsed invoice billing/paperwork checks behind Show invoice checks so the invoice appears first.

• Renamed truck subpage navigation from Documents to Paperwork.

• Removed remaining normal-user links to retired Notifications and Load Board surfaces.

• Simplified Profile & Security and Third-Party Integrations wording without moving setup out of settings.

• Prisma schema impact: none.

v378 Hidden section, route, and call language cleanup

• Reviewed hidden/collapsed sections, CORI's Quotes, Routes, Dispatch Board, CRM, and CORI Briefing wording against the Page Usefulness Rule.

• Added the Hidden Section and Assistant Language Rule to `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md`.

• Cleaned CORI's Quotes wording from voice activation/foundation language to quote-call and call-help language.

• Cleaned Routes so the page uses map check, weather check, stop check, manual check, and driver briefing language.

• Cleaned Dispatch Board collapsed helper language from handoff/continuity wording to extra board actions and next-step wording.

• Cleaned CRM intake language from Intelligence handoff to lead follow-up.

• Prisma schema impact: none.

v379 Admin placement, truck command, and CRM language cleanup

• Reviewed Super Admin vs Workspace Admin placement, truck command pages, CRM relationship pages, and remaining user-facing internal wording against the Page Usefulness Rule.

• Added the v379 Admin Placement and Truck Command Cleanup Rule to `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md`.

• Cleaned the global CORI helper context so it uses CORI Briefing, Billing Records, Paperwork, CRM, and People & Assets wording.

• Cleaned Truck detail and Next Load pages so visible labels focus on truck quick actions, current work, next load, paperwork, money, broker call help, and next step.

• Cleaned route details that still showed source, geometry, and live-lane wording.

• Cleaned CRM lead-follow-up language that still said Intelligence in normal user flow areas.

• Simplified Profile & Security and subscription-limit wording so normal users are not directed into Super Admin language.

• Prisma schema impact: none.

v380 Final high-use language sweep

• Reviewed Dispatch Board, Loads, Paperwork, Billing Records, CORI Briefing, CORI Mail, and collapsed helper panels for remaining user-facing internal system language.

• Added the Final User-Facing Language Sweep Rule to `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md`.

• Replaced remaining visible blocker, continuity, handoff, lifecycle, audit, execution, and visibility-style wording with simpler issue, return path, paperwork, check, work, and view language.

• Cleaned helper components used by selected-load actions, dispatch checks, paperwork detail, payment follow-up, and load return paths.

• Prisma schema impact: none.

v382 - Simple app-style notifications foundation

• Resumed feature development with the Build Rules enforced.

• Rebuilt `/notifications` as a simple app-style alert list.

• Added a top-bar notification bell.

• Added `/api/app-notifications` and an app-notification service.

• Built alerts from existing dispatch, paperwork, billing, and task records.

• Kept email, text, and push delivery as later opt-in delivery lanes.

• No Prisma schema changes.

v383 - Simple Notification Preferences and Opt-In Delivery Planning

• Reviewed `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md` before resuming feature development.

• Continued the simple app-style notifications track instead of returning to CORI Mail.

• Added user-level alert settings to `/notifications` with simple toggles for in-app alerts, urgent email alerts, overdue email alerts, due-today email alerts, daily team email, and urgent text alert opt-in planning.

• Connected app notification snapshots to existing saved `UserNotificationPreference` records.

• Updated the notification bell so the badge count respects the user's in-app alert preference.

• Updated notification delivery lane cards so email/text choices show whether they are requested or off, without exposing provider setup.

• Added `DISPATCH_SPOT_NOTIFICATION_PREFERENCES_OPT_IN_FOUNDATION_V383.md` and `.html`.

• Updated `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md` with the Notification Preference Rule.

• No Prisma schema changes.

v384 - Notification delivery through Workspace Integrations

• Continued the simple app-style notifications track.

• Added notification delivery readiness from Workspace Integrations.

• Added a simple Delivery Status panel to `/notifications`.

• Added guarded test email delivery through connected Custom SMTP accounts.

• Added Twilio setup fields to `/company/integrations` under the Twilio tab.

• Kept SMTP and Twilio setup out of the normal Notifications page.

• Updated Dispatch Spot build rules and documentation.

v385 - Urgent text opt-in and phone capture

• Continued the simple app-style notifications track.

• Added schema-backed phone number capture to `UserNotificationPreference`.

• Added explicit urgent-text opt-in tracking with opt-in and opt-out timestamps.

• Updated `/notifications` so users can enter their own mobile number, agree to urgent text alerts, save opt-in, and turn text alerts off.

• Updated notification delivery readiness so text alerts require both user opt-in and Workspace Twilio setup.

• Kept Twilio setup, tokens, and provider details in Workspace Settings > Third-Party Integrations.

• Added `DISPATCH_SPOT_NOTIFICATION_TEXT_OPT_IN_V385.md` and `.html`.

• Prisma schema impact: yes. `UserNotificationPreference` now stores text-alert phone and opt-in fields.

v386 - Guarded urgent text delivery preparation

• Continued the simple app-style notifications track after v385 phone capture and urgent-text opt-in.

• Added a guarded urgent text preview path for users who have opted into urgent text alerts.

• Added `/api/app-notifications/urgent-text-preview`.

• Extended the notification delivery service so it can prepare a short urgent text preview from current urgent alerts.

• Updated the Notifications Delivery Status panel with a Preview urgent text action when text alerts are opted in.

• Kept real SMS sending locked. v386 prepares and previews only; it does not send text messages.

• Kept Twilio setup in Workspace Settings > Third-Party Integrations.

• Added `DISPATCH_SPOT_NOTIFICATION_GUARDED_TEXT_PREP_V386.md` and `.html`.

• Prisma schema impact: none.

v387 - Guarded urgent text send and audit records

• Continued the simple app-style notifications track after v386 urgent text preview.

• Added final guarded urgent-text send execution after user preview and approval.

• Added `/api/app-notifications/send-urgent-text`.

• Added Twilio REST sending through saved Workspace Integration credentials.

• Added schema-backed `OutboundTextMessageLog` audit records for urgent text attempts.

• Updated `/notifications` so urgent text alerts require preview first, then explicit user approval to send.

• Kept Twilio setup, auth tokens, messaging service IDs, and provider details in Workspace Settings > Third-Party Integrations.

• Added `DISPATCH_SPOT_NOTIFICATION_SMS_SEND_AUDIT_V387.md` and `.html`.

• Prisma schema impact: yes. `OutboundTextMessageLog` was added.

v388 - Notification read/unread and dismissal behavior

• Continued the simple app-style notifications track after v387 guarded urgent SMS send and audit records.

• Added schema-backed per-user notification state with `AppNotificationUserState`.

• Added read/unread state to generated app alerts.

• Changed the notification bell badge to count unread active alerts instead of all attention alerts.

• Added Mark read, Mark unread, Mark all read, Hide, and Show again actions on `/notifications`.

• Added a Hidden alerts section so users can restore dismissed alerts without provider setup or technical alert-state details.

• Added `/api/app-notifications/state` for user-level alert actions.

• Updated `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md` with the Notification Read/Unread and Hide Rule.

• Added `DISPATCH_SPOT_NOTIFICATION_READ_DISMISS_V388.md` and `.html`.

• Prisma schema impact: yes. `AppNotificationUserState` was added.

v389 - CORI Mail approved-send execution foundation

• Returned to CORI Mail after completing the simple app-style notification read/unread and dismissal track.

• Added `/api/cori-mail/approved-send` and a guarded approved-send service.

• Added final approval handling on `/cori/mail` so the user can review the exact message before sending.

• Added live Custom SMTP send execution for CORI Mail only when company email is connected and `CORI_MAIL_SEND_ENABLED=true`.

• Added approved, queued, sent, failed, and send-locked audit behavior using existing `CoriMailSendAuditRecord` records.

• Updated CORI Mail memory counts for approved and sent send-review activity.

• Extended the Custom SMTP sender to include CC recipients.

• Kept email setup, credentials, and provider testing in `/company/integrations`.

• Added `CORI_MAIL_APPROVED_SEND_EXECUTION_V389.md` and `.html`.

• Prisma schema impact: none.

v390 - Notification settings relocation and build-rules hardening

• Paused new feature expansion to correct a settings-placement violation found after v389.

• Removed notification preference controls, phone-number capture, urgent-text opt-in/out controls, delivery status, test email, and urgent-text preview/send controls from `/notifications`.

• Restored `/notifications` to an alert/action surface only: alert counts, read/unread, Mark read, Mark unread, Mark all read, Hide, Hidden alerts, Show again, and direct links to work records.

• Added a Notifications tab inside Workspace Settings at `/company`.

• Moved notification preferences and delivery readiness into Workspace Settings > Notifications.

• Kept provider setup in `/company/integrations`.

• Updated `Project Documentation/Active/DISPATCH_SPOT_BUILD_RULES.md` with a hard operational-surface lock so future builds do not place settings/configuration controls on working pages.

• Added `DISPATCH_SPOT_NOTIFICATION_SETTINGS_RELOCATION_V390.md` and `.html`.

• Prisma schema impact: none.

v399.1 - CORI Mail chunk-load deployment hardening

• Added a corrective deployment-hardening package after `/cori/mail` showed a browser `ChunkLoadError`.

• Added `npm run dispatchspot:deploy-cleanup` to remove old `.next` build output before building.

• Added `npm run dispatchspot:postbuild-restart` to touch `tmp/restart.txt` after build so the cPanel/Passenger Node process reloads the new build.

• Updated the current operating manual and build rules so future WHM commands include deploy cleanup and post-build restart.

• Product UI impact: none.

• Prisma schema impact: none.

v400 - Notification digest and email-trigger behavior

• Reviewed v399.1 deployment hardening and continued normal product work after `/cori/mail` rendered again.

• Added `/api/app-notifications/email-digest` for guarded notification digest preview and approved send execution.

• Added `components/notifications/notification-email-digest-panel.tsx` inside Workspace Settings > Notifications.

• Added digest trigger selection from existing notification preferences: urgent alerts, overdue or late work, due-today checks, and daily team digest preference.

• Reused existing `OutboundEmailLog` records for digest send attempts.

• Kept `/notifications` alert/action-only with no settings, provider setup, phone capture, opt-in management, or delivery controls added back.

• Kept provider setup in `/company/integrations` and sanitized user-facing send failures.

• Added `Project Documentation/Build History/NOTIFICATION_DIGEST_EMAIL_TRIGGER_BEHAVIOR_V400.md` and HTML mirror.

• Prisma schema impact: none.

v401 - Notification digest history and readiness polish

• Reviewed v400 notification digest/email-trigger behavior.

• Added `GET /api/app-notifications/email-digest` history support for digest sends.

• Added simple digest send history, last digest status, sent/failed/waiting counts, and retry guidance inside Workspace Settings > Notifications.

• Kept provider setup in `/company/integrations`.

• Kept `/notifications` alert/action-only.

• Prisma schema impact: none.

v402 - Notification scheduled digest planning and guarded trigger rules

• Reviewed v401 notification digest history and readiness polish.

• Added scheduled digest plan data to notification digest history.

• Added guarded trigger checks for urgent alerts, overdue or late work, due-today checks, and daily team digest.

• Added duplicate-send guards for empty digests, pending sends, recent sends, and same-day daily team digests.

• Kept automatic sending locked unless `DISPATCH_SPOT_NOTIFICATION_AUTO_DIGEST_ENABLED=true` is explicitly enabled.

• Kept `/notifications` alert/action-only and provider setup in `/company/integrations`.

• Prisma schema impact: none.

v403 - Notification scheduler/webhook execution hardening

• Reviewed v402 notification scheduled digest planning and guarded trigger rules.

• Added protected scheduler endpoint at `/api/app-notifications/email-digest/scheduler`.

• Protected scheduler execution with `DISPATCH_SPOT_NOTIFICATION_DIGEST_WEBHOOK_SECRET`.

• Kept automatic sends locked unless `DISPATCH_SPOT_NOTIFICATION_AUTO_DIGEST_ENABLED=true` is explicitly enabled.

• Manual trigger checks in Workspace Settings > Notifications now check readiness only and do not auto-send.

• Reused existing digest duplicate-send guards and `OutboundEmailLog` records.

• Kept `/notifications` alert/action-only and provider setup in `/company/integrations`.

• Prisma schema impact: none.

v404 - Notification scheduler run history and health

• Reviewed v403 notification scheduler/webhook execution hardening.

• Added simple scheduler run records using existing `OutboundEmailLog` records with `app_notifications.email_digest.scheduler_run`.

• Added scheduler health and scheduler run history to Workspace Settings > Notifications.

• Scheduler history shows recent runs, failed run count, last run status, dry-run/live check state, users checked, sent, ready, skipped, and failed counts.

• Kept digest send history separate from scheduler run history.

• Kept `/notifications` alert/action-only and provider setup in `/company/integrations`.

• No scheduler secrets, SMTP credentials, raw provider responses, or raw delivery logs are exposed to normal users.

• Prisma schema impact: none.

v405 - Super Admin notification scheduler platform health visibility

• Reviewed v404 notification scheduler run history and health.

• Continued notifications with Super Admin scheduler/platform health visibility.

• Added platform-wide scheduler health to Super Admin Notification Governance at `/admin/notifications`.

• Added recent protected scheduler run visibility across workspaces using existing `OutboundEmailLog` records with `app_notifications.email_digest.scheduler_run`.

• Added simple platform health summary for automation lock state, webhook configured/not configured state, recent run count, workspace count, users checked, sent, ready-for-approval, skipped, failed, and needs-attention signals.

• Kept scheduler secrets, SMTP credentials, provider diagnostics, raw delivery logs, and raw authorization details out of the browser.

• Kept Workspace Settings > Notifications as the workspace-level digest settings/history surface.

• Kept `/notifications` alert/action-only and provider setup in `/company/integrations`.

• Prisma schema impact: none.

v406 - Notification scheduler runbook and cron setup guidance

• Reviewed v405 Super Admin notification scheduler platform health visibility.

• Continued notifications with scheduler runbook/cron setup guidance instead of immediately returning to another operational surface.

• Added Super Admin runbook guidance inside /admin/notifications for protected scheduler setup, dry-run checks, guarded live cron examples, verification, rollback, and guardrails.

• Added notification scheduler environment variables to .env.example.

• Kept scheduler secret values, raw authorization headers, SMTP credentials, provider diagnostics, and raw delivery logs out of browser-facing surfaces.

• Kept Workspace Settings > Notifications as the workspace-level notification settings/history surface.

• Kept /notifications alert/action-only and provider setup in /company/integrations.

• Prisma schema impact: none.

v407 - Workspace parity and membership subscription/trial planning

• Reviewed v406 notification scheduler runbook and cron setup guidance.

• Treated the notification track as complete enough to pause unless testing reveals a defect.

• Created active architecture plan: `Project Documentation/Architecture/WORKSPACE_PARITY_AND_MEMBERSHIP_SUBSCRIPTION_TRIAL_PLAN.md`.

• Planned role-workspace parity against the Dispatcher Workspace maturity benchmark for Company/Fleet, Carrier/Owner-Operator, Driver, Broker, and Shipper/Customer surfaces.

• Began membership subscription/trial registration planning for workspace type selection, plan selection timing, trial behavior, entitlement limits, add-ons, billing status, Stripe handoff, expired-trial behavior, and Super Admin visibility.

• No product UI changes.

• Prisma schema impact: none.

v413 - Workspace Type and Subscription Prisma Foundation

• Reviewed v412 workspace type/subscription schema design review.

• Approved and added the minimal Prisma schema foundation for workspace classification and plan visibility.

• Added workspace type/account class enums and nullable `Organization.workspaceType` / `Organization.accountClass` fields.

• Added plan family and visibility fields on `SubscriptionPlan`.

• Added first `SuperAdminAuditEvent` model for future Super Admin overrides and sensitive platform actions.

• Updated `/admin/workspaces/types` to recognize stored classification fields when present while keeping safe inference for older unclassified workspaces.

• Did not change registration UI or activate workspace-type enforcement gates.

• Prisma schema impact: yes. Run `npx prisma generate` and `npx prisma db push` during deployment.

v414 - Super Admin workspace classification workflow

• Reviewed v413 workspace type and subscription Prisma foundation.

• Added guarded Super Admin workflow on `/admin/workspaces/types` to set stored workspace type and account class for existing workspaces.

• Added `PATCH /api/workspaces/[id]/classification`.

• Added before/current/after classification guidance and recommended classification support.

• Added classification audit events using the existing `SuperAdminAuditEvent` model.

• Added recent classification audit visibility for the selected workspace.

• Registration UI, hard billing gates, Stripe handoff, plan enforcement, portal ownership records, broker distribution limits, and internal load-board access were not changed.

• Prisma schema impact: none.

v415 - Super Admin plan visibility and classification readiness review

• Reviewed v414 Super Admin workspace classification workflow.

• Extended `/admin/workspaces/types` to use stored workspace type/account class first and inference only as a fallback.

• Added classification coverage summaries, stored/inferred/review counts, and top readiness warnings.

• Added selected-workspace readiness warnings for classification, plan visibility, subscription, billing state, trial date, and plan limit review.

• Expanded plan visibility preview so saved plan family and visible workspace type fields can be compared against stored workspace classifications.

• Added Platform Marketplace as a planning category while keeping internal load-board and marketplace access unenforced.

• Registration UI, Stripe checkout, hard billing gates, broker distribution limits, owned/invited portal records, and internal load-board access were not changed.

• Prisma schema impact: none.

v416 - Super Admin bulk classification cleanup helper

• Reviewed v415 Super Admin plan visibility and classification readiness review.

• Decided to add a Super Admin bulk classification/cleanup helper before changing registration, workspace-type plan selection, Stripe checkout, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Extended `/admin/workspaces/types` with a bulk classification cleanup helper that separates completely unclassified workspaces, manual cleanup rows, and already stored classifications.

• Added guarded bulk save behavior for the first 50 completely unclassified workspaces in the current class filter view.

• Added server-side recommendation checks through `/api/workspaces/classification/bulk` so the browser preview is not trusted as the source of truth.

• Added per-workspace and bulk-run Super Admin audit events using the existing `SuperAdminAuditEvent` model.

• Expanded recent classification audit visibility to include bulk recommendation-applied events.

• Registration UI, workspace-type plan-selection staging, Stripe checkout, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access were not changed.

• Prisma schema impact: none.

v417 - Super Admin plan-family visibility cleanup controls

• Reviewed v416 Super Admin bulk classification cleanup helper.

• Decided to add Super Admin plan-family visibility cleanup controls before changing registration/workspace-type plan-selection staging, Stripe checkout, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Extended `/admin/subscriptions` with a plan-family visibility cleanup section and review counts.

• Added editable plan family, plan visibility, and visible workspace type controls to the plan editor.

• Added a guarded `Use recommended visibility` helper for the selected plan draft.

• Updated plan persistence so an intentionally cleared visible workspace type list is saved instead of keeping the old value.

• Public registration, workspace-type plan selection, Stripe checkout, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access were not changed.

• Prisma schema impact: none.

v418 - Super Admin registration readiness checklist

• Reviewed v417 Super Admin plan-family visibility cleanup controls.

• Decided to add a Super Admin registration readiness checklist before changing registration/workspace-type plan-selection staging, Stripe checkout, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Added a new checklist section to `/admin/subscriptions` above the subscription plan manager.

• The checklist reviews workspace classification coverage, plan visibility metadata, staged registration candidate plans, existing paid workspace subscription fit, guarded Stripe/billing status, and broker/marketplace access policy readiness.

• Added ready, needs-review, blocked, and candidate-plan counts for Super Admin review.

• Added workspace cleanup and plan cleanup queues with links to the relevant Super Admin surfaces.

• Registration plan selection, Stripe checkout, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access were not changed.

• Prisma schema impact: none.

v419 - Registration workspace-type plan-selection staging

• Reviewed v418 Super Admin registration readiness checklist.

• Decided to proceed with registration/workspace-type plan-selection staging as a review-only signup step before changing Stripe checkout, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Extended `/sign-up` with workspace type selection for Dispatcher, Company / Fleet, Carrier / Owner-Operator, and Freight Broker workspace candidates.

• Added staged trial plan selection filtered by the selected workspace type.

• Added `/api/auth/sign-up/options` to expose sanitized registration options from Super Admin-staged Public or Invite only customer plans.

• Updated signup workspace creation to store selected workspace type and `PAID_WORKSPACE` account class on the new organization.

• Updated signup workspace creation to assign the selected staged trial plan when valid, with safe default fallback when no staged plan exists.

• Updated the Super Admin registration readiness checklist wording to reflect active review-only signup staging.

• Stripe checkout, payment collection, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access were not changed.

• Prisma schema impact: none.

v419.1 - Registration workspace-type plan-selection build fix

• Reviewed the WHM build error from v419.

• Fixed the TypeScript enum narrowing issue in `src/modules/workspaces/workspace.service.ts` by moving the public-registration workspace type allow-list into a typed `readonly WorkspaceType[]` constant.

• Preserved the same public registration allow-list: Dispatcher, Company / Fleet, Carrier / Owner-Operator, and Freight Broker.

• Kept shipper/customer portals, driver-interface records, platform marketplace layers, and internal operations workspaces unavailable from public registration.

• Stripe checkout, payment collection, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access were not changed.

• Prisma schema impact: none.

v420 - Super Admin signup-staging review dashboard and audit visibility

• Reviewed v419.1 registration workspace-type plan-selection build fix.

• Decided to add a Super Admin signup-staging review dashboard before changing Stripe checkout, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Added a signup-staging review dashboard to `/admin/subscriptions` showing workspace-type coverage, staged Public/Invite only plan counts, fallback-risk workspace types, and recent staged signup audit records.

• Added `/api/admin/signup-staging/review` for Super Admin-only review data.

• Updated public signup workspace creation to write a `REGISTRATION_SIGNUP_STAGED_WORKSPACE_CREATED` Super Admin audit event when a review-only staged workspace is created.

• Audit metadata records selected workspace type, selected plan, fallback usage, admin email, and guardrail flags.

• Stripe checkout, payment collection, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access were not changed.

• Prisma schema impact: none.

v421 - Signup fallback hardening and trial-date readiness

• Reviewed v420 Super Admin signup-staging review dashboard and audit visibility.

• Decided to harden signup fallback and trial-date readiness before adding signup-staging filters/export or changing Stripe checkout, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Hardened fallback plan selection so public signup fallback uses a safe non-internal, non-retired plan.

• Added 14-day review-only trial date readiness to signup-created workspace subscriptions by saving `trialEndsAt`.

• Extended signup audit metadata with fallback reason, fallback plan name, trial days, trial start timestamp, trial end timestamp, and trial-end-date saved status.

• Extended sanitized public signup options with trial policy and fallback policy details.

• Updated `/sign-up` to explain the 14-day trial and safe default fallback behavior more clearly.

• Updated `/admin/subscriptions` signup-staging review with fallback plan readiness, trial-date warnings, readiness warning messages, fallback reason badges, and trial date saved/missing badges.

• Stripe checkout, payment collection, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access were not changed.

• Prisma schema impact: none.

v422 - Super Admin signup-staging filters and export

• Reviewed v421 signup fallback hardening and trial-date readiness.

• Decided to add Super Admin signup-staging filters/export before guarded Stripe checkout preparation or any hard billing-gate work.

• Extended `/admin/subscriptions` signup-staging review with filters for workspace type, staged-plan match vs default fallback, trial-date status, and text search.

• Added a reset control for the signup-staging filters.

• Added CSV export for the currently filtered signup audit records.

• Added CSV export for workspace-type signup coverage.

• Reused the existing Super Admin review API and did not expose Stripe identifiers, provider sync state, or internal billing notes.

• Stripe checkout, payment collection, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access were not changed.

• Prisma schema impact: none.

v423 - Guarded Stripe checkout preparation

• Reviewed v422 Super Admin signup-staging filters/export.

• Decided to proceed with guarded Stripe checkout preparation before changing hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Added a Super Admin-only checkout-preparation review panel to `/admin/subscriptions`.

• Added `/api/admin/stripe-checkout/preparation` for checkout-preparation readiness data.

• The review checks Stripe environment setup, staged signup plan coverage, Stripe product/monthly price ID readiness, fallback plan readiness, and recent trial workspace trial-date readiness.

• Candidate checkout plan rows show masked Stripe product/price IDs, provider mode, sync status, and clear first-fix guidance.

• Added future checkout, customer portal, and payment collection flags to `.env.example`, all defaulting to `false`.

• Stripe checkout sessions, customer portal sessions, payment collection, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access were not changed.

• Prisma schema impact: none.

v424 - Stripe checkout route scaffold in locked test mode

• Reviewed v423 guarded Stripe checkout preparation.

• Decided to proceed with a locked checkout route scaffold before hardening candidate-plan Stripe price readiness controls or changing hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Added `/api/subscriptions/stripe-checkout` as a workspace-authenticated route scaffold.

• Added `GET` review support and `POST` locked review-only support.

• Added route-scaffold service checks for workspace eligibility, trial subscription readiness, plan Stripe readiness, and test-mode environment posture.

• Updated `/admin/subscriptions` guarded checkout-preparation panel to show the route scaffold path, allowed methods, session-creation lock, and payment-collection lock.

• Updated checkout-preparation guardrails so Super Admin can distinguish route scaffold presence from actual checkout session creation.

• Added `DISPATCH_SPOT_STRIPE_CHECKOUT_ROUTE_SCAFFOLD_LOCKED="true"` to `.env.example`.

• Stripe checkout sessions, customer portal sessions, card collection, invoices, charges, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access were not changed.

• Prisma schema impact: none.

v425 - Candidate-plan Stripe price readiness controls

• Reviewed v424 Stripe checkout route scaffold in locked test mode.

• Decided to add Super Admin candidate-plan Stripe price readiness controls before adding Workspace Admin checkout locked-state review or changing hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Extended /admin/subscriptions with a Candidate-plan Stripe price readiness section inside Super Admin plan control.

• Added readiness counts for signup candidate plans, Stripe-ready candidate plans, plans needing review, blocked sync states, missing product IDs, missing monthly price IDs, and invalid Stripe ID format warnings.

• Added clickable candidate readiness cards that select the plan in the existing plan editor.

• Added selected-plan checkout-price review inside the Stripe-ready billing fields.

• Added guarded Use Stripe test defaults and Mark IDs verified helpers for plan metadata cleanup.

• No Stripe API calls, checkout sessions, card collection, invoices, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access were changed.

• Prisma schema impact: none.

v426 - Workspace Admin checkout locked-state review inside Billing

• Reviewed v425 candidate-plan Stripe price readiness controls.

• Decided to add Workspace Admin checkout locked-state review inside Billing before guarded checkout session creation.

• Extended `/billing` with a Subscription checkout locked-state card that calls the existing workspace-authenticated `/api/subscriptions/stripe-checkout` route.

• Added a safe Check locked checkout action that confirms no payment page opens.

• Kept checkout sessions, card collection, customer portal sessions, invoices, charges, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access inactive.

• Prisma schema impact: none.

v427 - Super Admin Stripe price readiness export and audit notes

• Reviewed v426 Workspace Admin checkout locked-state review inside Billing.

• Decided to add Super Admin Stripe price readiness export/audit notes before guarded Stripe Checkout session creation.

• Extended `/admin/subscriptions` candidate-plan Stripe price readiness controls with readiness and issues CSV exports.

• Added selected-plan audit note entry and recent Stripe price readiness audit-note visibility.

• Added `/api/admin/stripe-price-readiness/audit-note` and saved notes to `SuperAdminAuditEvent` using `STRIPE_PRICE_READINESS_AUDIT_NOTE_ADDED`.

• Kept Stripe checkout sessions, payment collection, customer portal sessions, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access inactive.

• Prisma schema impact: none.

v427.1 - Signup email verification delivery and legacy auth link fix

• Reviewed signup-created workspace admin email verification delivery and legacy auth links.

• Connected new workspace creation to the existing platform auth email sender by issuing a workspace admin verification email after workspace/admin creation succeeds.

• Kept workspace creation successful if email delivery fails and returned verification-email delivery status to the signup success screen.

• Fixed auth email template links to `/verify-email` and `/reset-password`.

• Added legacy redirects from `/auth/verify-email` and `/auth/reset-password` to the current App Router pages.

• Stripe checkout, payment collection, customer portal sessions, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access were not changed.

• Prisma schema impact: none.

v428 - Super Admin checkout-session readiness approval switches

• Reviewed v427.1 signup email verification delivery and legacy auth link fix.

• Decided to add Super Admin checkout-session readiness approval switches before guarded Stripe checkout session creation.

• Extended `/admin/subscriptions` guarded Stripe checkout preparation with readiness approval switches for environment review, candidate plan/price review, trial workspace readiness, Workspace Billing locked-state review, and the session-creation guardrail.

• Added `/api/admin/stripe-checkout/session-approval-switches` for Super Admin-only approval-switch review and updates.

• Saved approval and revoke events to `SuperAdminAuditEvent` using `STRIPE_CHECKOUT_SESSION_READINESS_SWITCH_UPDATED`.

• Added optional Super Admin notes and recent approval history to the checkout-preparation panel.

• Added `DISPATCH_SPOT_STRIPE_CHECKOUT_SESSION_APPROVALS_REQUIRED="true"` to `.env.example` as a future gating flag.

• Stripe checkout sessions, payment collection, customer portal sessions, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access were not changed.

• Prisma schema impact: none.

v429 - Guarded Stripe checkout session creation in locked test mode

• Reviewed v428 Super Admin checkout-session readiness approval switches.

• Decided to proceed with guarded Stripe Checkout test-session creation before approval-switch export/history filters or changing hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Extended `/api/subscriptions/stripe-checkout` so POST can create a Stripe Checkout test session only when the explicit test-session flag is enabled, Stripe is in test mode, payment collection is off, workspace readiness is clean, and Super Admin approval switches are complete.

• Kept checkout-session URLs withheld by default and recorded only masked test-session details in audit metadata.

• Added locked review and locked test-session audit events with `STRIPE_CHECKOUT_TEST_SESSION_CREATION_REVIEWED` and `STRIPE_CHECKOUT_TEST_SESSION_CREATED_LOCKED`.

• Updated Super Admin checkout-preparation language and Workspace Admin Billing checkout review language for guarded test-session behavior.

• Added `DISPATCH_SPOT_STRIPE_CHECKOUT_TEST_SESSION_CREATION_ENABLED="false"` and `DISPATCH_SPOT_STRIPE_CHECKOUT_SESSION_URL_RETURN_ENABLED="false"` to `.env.example`.

• Payment collection, customer portal sessions, invoices, charges, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access remain inactive.

• Prisma schema impact: none.

v430 - Stripe checkout audit and locked-test result review bundle

• Reviewed v429 guarded Stripe checkout session creation in locked test mode.

• Decided to proceed with a condensed checkout audit bundle before checkout URL readiness, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Added Super Admin-only `/api/admin/stripe-checkout/audit-review` to read locked checkout review attempts, locked Stripe test-session creation events, and checkout approval history.

• Added `/admin/subscriptions` checkout audit panel with locked test-session result review, approval-switch history filters, search, and CSV exports.

• Shows masked test-session IDs, workspace/plan context, URL withheld/returned state, first-fix guidance, approval/revoke history, reviewer, readiness status, and notes.

• Kept checkout URL return locked by default, payment collection off, customer portal sessions off, hard billing gates unchanged, broker distribution unchanged, owned portal rules unchanged, and internal load-board access unchanged.

• Prisma schema impact: none.

v431 - Checkout URL readiness and success/cancel route scaffold

• Reviewed v430 Stripe checkout audit and locked-test result review bundle.

• Proceeded with checkout URL readiness and safe success/cancel route scaffolding before payment collection, customer portal sessions, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Added `/billing/checkout/success` and `/billing/checkout/cancel` as review-only return pages that do not change subscription status or workspace access.

• Updated the guarded Stripe Checkout test-session scaffold to use the new return paths for future test checkout sessions.

• Added Super Admin-only `/api/admin/stripe-checkout/url-readiness` with approve/revoke audit notes under `STRIPE_CHECKOUT_URL_RETURN_READINESS_UPDATED`.

• Added a Checkout URL readiness panel to `/admin/subscriptions` with route readiness, URL withheld/returned counts, locked test-session history, and guardrail status.

• Extended checkout-preparation and Workspace Billing review data to identify the return-route scaffold.

• Added `DISPATCH_SPOT_STRIPE_CHECKOUT_RETURN_ROUTES_READY="true"` and `DISPATCH_SPOT_STRIPE_CHECKOUT_RETURN_ROUTES_REVIEW_ONLY="true"` to `.env.example`.

• Checkout URL return stays off by default, payment collection is off, customer portal sessions are off, webhook subscription sync is inactive, hard billing gates are unchanged, broker distribution is unchanged, owned portal rules are unchanged, and internal load-board access is unchanged.

• Prisma schema impact: none.

v433 - Stripe subscription sync and trial-to-paid readiness bundle

• Reviewed v432 Stripe webhook locked scaffold and webhook review dashboard.

• Decided to proceed with Stripe subscription sync and trial-to-paid readiness before payment collection, customer portal sessions, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Added Super Admin-only `/api/admin/stripe-subscription-sync/readiness` for review-only subscription sync readiness data.

• Added `/admin/subscriptions` subscription sync and trial-to-paid readiness panel.

• The new panel reviews saved Stripe customer/subscription mapping, duplicate Stripe ID risks, recent webhook sync-preview rows, trial end date readiness, provider sync posture, checkout approval context, and safe first-fix guidance.

• Added CSV exports for mapping readiness, trial-to-paid readiness, and webhook subscription-sync preview records.

• Added review-only environment flags to `.env.example`: `DISPATCH_SPOT_STRIPE_SUBSCRIPTION_SYNC_REVIEW_ONLY` and `DISPATCH_SPOT_STRIPE_TRIAL_TO_PAID_CONVERSION_REVIEW_ONLY`.

• Webhook-driven subscription status mutation, trial-to-paid conversion, checkout URL return, payment collection, customer portal sessions, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access remain inactive.

• Prisma schema impact: none.

v434 - Customer portal prep and billing activation master checklist

• Reviewed v433 Stripe subscription sync and trial-to-paid readiness bundle.

• Decided to proceed with customer portal preparation and a billing activation master checklist before payment collection, customer portal sessions, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Added locked workspace-authenticated `/api/subscriptions/stripe-customer-portal` with safe GET review and POST locked-review behavior.

• Added `StripeCustomerPortalRouteScaffoldService` for customer portal readiness without creating Stripe Billing Portal sessions.

• Added Super Admin-only `/api/admin/billing-activation/master-checklist` and `BillingActivationMasterChecklistService`.

• Extended `/admin/subscriptions` with a Billing activation master checklist panel that reviews Stripe environment, candidate plans, checkout approvals/test sessions, customer portal readiness, webhook review, subscription sync readiness, trial-to-paid readiness, activation locks, and downstream policy locks.

• Added filters and CSV exports for checklist rows and customer portal workspace readiness rows.

• Added locked customer portal and billing activation review-only flags to `.env.example`.

• Customer portal sessions, portal URLs, payment collection, webhook subscription mutation, trial-to-paid conversion, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access remain inactive.

• Prisma schema impact: none.

v435 — Plan Entitlement Model and Plan Limits Editor

• Added Super Admin plan entitlement model review to `/admin/subscriptions`.

• Added `/api/admin/plan-entitlements/review`.

• Added plan family entitlement defaults, review warnings, filters, and CSV exports.

• Hardened the plan limits editor with a dedicated entitlement bundle section and guarded default helper.

• No payment collection, customer portal, hard billing gates, broker distribution, owned portal, or internal load-board behavior was activated.

v437 - Subscription lifecycle and review-only billing sync

• Reviewed v436 workspace entitlement visibility and add-on readiness.

• Decided to proceed with subscription lifecycle and review-only billing sync before billing activation approvals, payment collection, customer portal sessions, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

• Added Super Admin-only `/api/admin/subscription-lifecycle/review` for review-only lifecycle and billing sync data.

• Added `SubscriptionLifecycleBillingSyncService`.

• Extended `/admin/subscriptions` with a **Subscription lifecycle** panel showing trial, active, past-due, paused, canceled, and missing-subscription workspaces.

• Added masked Stripe customer/subscription/subscription-item IDs, duplicate Stripe ID warnings, recent webhook billing-sync signals, provider sync freshness, lifecycle risk reasons, soft Workspace Admin message guidance, and Super Admin first-fix guidance.

• Added lifecycle/provider summaries, filters, search, lifecycle CSV export, and webhook billing-sync CSV export.

• Added `DISPATCH_SPOT_BILLING_STATUS_SYNC_REVIEW_ONLY="true"` and `DISPATCH_SPOT_BILLING_STATUS_MUTATION_ENABLED="false"` to `.env.example`.

• Billing status mutation, payment collection, customer portal sessions, webhook subscription mutation, trial-to-paid conversion, hard billing gates, broker distribution limits, owned portal rules, and internal load-board access remain inactive.

• Prisma schema impact: none.

v450 trial-to-paid conversion test checkpoint

v450 adds the first Super Admin trial-to-paid checkpoint layer after verified Stripe provider-sync test mutation.

Current behavior:

• Super Admin `/admin/subscriptions` now includes a **Trial-to-paid conversion test checkpoint** panel.

• New API: `/api/admin/trial-to-paid/test-checkpoint`.

• Trial rows are reviewed for trial end dates, Stripe test IDs, Stripe-ready plan, provider sync status, verified v449 provider-sync evidence, paid-like provider signal, and checkpoint history.

• Ready trial rows can receive a Super Admin checkpoint record only when `DISPATCH_SPOT_STRIPE_TRIAL_TO_PAID_TEST_CHECKPOINT_ENABLED` is enabled.

• Checkpoint recording creates `STRIPE_TRIAL_TO_PAID_TEST_CHECKPOINT_RECORDED` audit evidence only.

• Billing activation master checklist now sees trial-to-paid checkpoint evidence counts.

Important limitation:

• This build does not convert trial workspaces to paid status, collect payment, activate live customer portal behavior, mutate billing status, enforce hard billing gates, change broker distribution limits, change owned portal rules, or open internal load-board access.

v452 soft-to-hard billing gate pilot readiness

v452 adds the review-only pilot allowlist layer that must exist before any future hard billing gate activation build.

Current behavior:

• Super Admin `/admin/subscriptions` now includes a **Soft-to-hard billing gate pilot readiness** panel.

• New API: `/api/admin/hard-billing-gates/pilot-readiness`.

• The pilot review uses hard-gate readiness rows, Workspace Billing warning state, paid workspace classification, subscription status, plan/add-on limit state, and v451 payment collection readiness evidence.

• Super Admin can select or remove low-risk paid workspaces for pilot readiness when `DISPATCH_SPOT_HARD_BILLING_GATE_PILOT_READINESS_ENABLED` is enabled.

• Pilot selections are stored as Super Admin audit events under `HARD_BILLING_GATE_PILOT_READINESS_UPDATED`.

• The billing activation master checklist now sees pilot selection evidence counts.

• Added `.env.example` flags:

- `DISPATCH_SPOT_HARD_BILLING_GATE_PILOT_READINESS_ENABLED="false"`

- `DISPATCH_SPOT_HARD_BILLING_GATE_PILOT_REVIEW_ONLY="true"`

- `DISPATCH_SPOT_HARD_BILLING_GATE_PILOT_WORKSPACE_SLUGS=""`

Important limitation:

• This build does not activate hard billing gates, pilot enforcement, payment collection, billing status mutation, broker distribution limits, owned portal rules, or internal load-board access.

• Pilot readiness records evidence only. A later explicit activation build is still required before any workspace access can be affected.

v453 — Hard Billing Gate Controlled Activation

• Added pilot-only hard billing gate controlled activation review in Super Admin.

• Added runtime hard-gate policy helper for controlled pilot enforcement by workspace identifier.

• Added `/api/admin/hard-billing-gates/controlled-activation`.

• Added controlled activation impact rows, guardrail checks, review history, and CSV exports.

• Kept payment collection, billing status mutation, broker distribution limits, owned portal rules, and internal load-board access unchanged.

• Prisma schema changed: No.

v461 — Controlled hard-gate expansion runtime activation execution and immediate safety watch

• Reviewed v460 controlled hard-gate expansion activation approval switch.

• Added Super Admin-only `/api/admin/hard-billing-gates/expansion-runtime-activation`.

• Added `HardBillingGateExpansionRuntimeActivationService` and `AdminHardBillingGateExpansionRuntimeActivationPanel`.

• Added runtime activation rows, immediate safety watch checklist, evidence history, filters, CSV exports, and recording controls inside `/admin/subscriptions`.

• Extended controlled hard-gate policy so approved expansion identifiers can participate in controlled runtime scope only when the v461 runtime activation switch is enabled and review-only is off.

• Added audit events `HARD_BILLING_GATE_EXPANSION_RUNTIME_ACTIVATION_EXECUTED` and `HARD_BILLING_GATE_EXPANSION_IMMEDIATE_SAFETY_WATCH_REVIEWED`.

• Extended the billing activation master checklist with v461 runtime activation and safety-watch evidence.

• Payment collection, billing status mutation, broad hard gates, broker distribution, owned portal rules, and internal load-board access were not changed.

• Prisma schema impact: none.

v470 — Fleet Map marker refresh review and dispatcher-confirmed position state model

• Reviewed v469 Fleet Map manual position update persistence contract and audit trail planning.

• Added dispatcher-confirmed position state data and state-model documentation for marker refresh review.

• Linked recent manual position audit records to matching Fleet Map truck markers for review.

• Added marker refresh summary counts, filter, selected-truck panel, marker-refresh chips, hover/info-window text, and CORI prompts.

• Preserved the rule that green markers are live driver-app GPS only and dispatcher-confirmed positions remain non-live.

• No real GPS/ELD provider, paid Google server API, marker mutation, payment collection, broker distribution, owned portal rule, internal load-board, or Prisma schema change was made.

v477 — Fleet Map non-live marker lifecycle dashboard and stale-position cleanup

• Reviewed v476 controlled blue/non-live marker refresh execution and rollback.

• Added marker lifecycle readouts to Fleet Map positions.

• Added lifecycle states for pending review, staged refresh, executed refresh, rolled back, disputed, stale cleanup needed, live protected, and normal watch.

• Added stale non-live marker thresholds for watch, cleanup-needed, and do-not-trust status.

• Added route recalculation readiness labels and driver-check-in escalation for stale non-live markers.

• Added Lifecycle and Stale cleanup filters, summary counts, lifecycle dashboard panel, selected-truck lifecycle details, chips, hover/info-window labels, search coverage, and CORI prompts.

• No real GPS/ELD/telematics providers, Google Geocoding/Routes APIs, payment collection changes, broker distribution changes, owned portal changes, internal load-board access changes, Transportation Accounting activation, or Prisma schema change was made.

v478 — Fleet Map driver-app GPS intake contract, consent, and live eligibility

• Reviewed v477 non-live marker lifecycle dashboard and stale-position cleanup.

• Added driver-app GPS intake readiness to Fleet Map positions.

• Added consent/privacy readiness, live eligibility status, freshness rules, required payload contract fields, readiness checklist, guardrails, and next-step labels.

• Added GPS Intake and Live eligible filters, summary counts, driver-app GPS eligibility dashboard, selected-truck readiness controls, truck-list chips, hover/info-window labels, search coverage, and CORI prompts.

• Added /api/fleet-map/driver-app-gps-readiness for readiness audit records only.

• Added .env.example flags for readiness recording and kept real driver-app GPS intake disabled.

• No live GPS coordinates, GPS/ELD/telematics providers, Google Geocoding/Routes APIs, payment collection changes, broker distribution changes, owned portal changes, internal load-board access changes, Transportation Accounting activation, or Prisma schema change was made.

v478.1 — Fleet Map driver-app GPS readiness type import build fix

• Fixed the v478 production build error in `components/fleet-map/fleet-map-client.tsx`.

• Imported `FleetDriverAppGpsReadinessAuditRecord` from `@/src/modules/fleet-map/fleet-map.types` for the new driver-app GPS readiness audit trail panel.

• Build-only fix; no Fleet Map behavior, API behavior, Prisma schema, payment, broker distribution, owned portal, internal load-board, GPS/ELD provider, Google Routes/Geocoding, or Transportation Accounting behavior was changed.

v479 — Fleet Map controlled driver-app live GPS activation

• Added controlled driver-app live GPS session recording through `/api/fleet-map/driver-app-live-gps-sessions`.

• Added fresh driver-app GPS as the active green-marker path.

• Added stale/stopped live GPS fallback behavior.

• Added live GPS dashboard, selected-truck controls, audit trail, filter, summary count, and CORI guidance.

• Preserved guardrails: no GPS/ELD/telematics provider, no Google Geocoding/Routes API, no billing/payment changes, no broker distribution limit changes, no owned portal rule changes, no internal load-board access changes, no Transportation Accounting activation, and no Prisma schema change.

v481 — Fleet Map live-source reconciliation and route intelligence upgrade

• Reviewed v480.1 provider sandbox route-overlay point type build fix.

• Added live-source reconciliation between fresh driver-app GPS, provider sandbox/ELD-style evidence, and blue/non-live fallback trust.

• Added source-conflict and provider-untrusted review states before any production provider source can influence the map.

• Added route-intelligence readiness labels for route cache keys, traffic-aware ETA readiness, Google Routes readiness, Geocoding readiness, and route recalculation review.

• Added Source reconciliation and Route intelligence filters, summary cards, dashboard panels, selected-truck readouts, hover/info-window labels, search coverage, and CORI prompts.

• Kept provider sandbox data review-only and kept fresh driver-app GPS as the only green-marker authority.

• No production GPS/ELD/telematics provider APIs, Google Geocoding API calls, Google Routes API calls, payment collection changes, broker distribution limit changes, owned portal rule changes, internal load-board access changes, Transportation Accounting activation, or Prisma schema changes were made.

v481.1 — Fleet Map live-source reconciliation fallback-position build fix

• Fixed the v481 production build error in `src/modules/fleet-map/fleet-map.service.ts` where the fallback/demo Fleet Map position return path was missing the required `liveSourceReconciliation` and `routeIntelligence` fields from `FleetMapPosition`.

• Built `liveSourceReconciliation` and `routeIntelligence` after `providerTelematics` in the fallback position builder, matching the v481 completed position contract.

• Preserved v481 behavior: provider sandbox evidence remains review-only, fresh driver-app GPS remains the only green-marker authority, and route intelligence remains readiness-only with no Google Routes/Geocoding server calls.

• No production GPS/ELD/telematics provider APIs, payment collection changes, broker distribution limit changes, owned portal rule changes, internal load-board access changes, Transportation Accounting activation, or Prisma schema changes were made.

v481.2 — Fleet Map fallback-position excess-property build fix

• Fixed the v481.1 production build error in `src/modules/fleet-map/fleet-map.service.ts` where the fallback/demo Fleet Map position builder passed extra fields into narrow `Pick<FleetMapPosition, ...>` helper contracts.

• Replaced the completed-position provider telematics, live-source reconciliation, and route-intelligence helper calls with exact field objects that match each helper's expected TypeScript contract.

• Preserved the v481.1 intent: the fallback/demo position still returns `providerTelematics`, `liveSourceReconciliation`, and `routeIntelligence` so it satisfies the full `FleetMapPosition` contract.

• Preserved v481 behavior: provider sandbox evidence remains review-only, fresh driver-app GPS remains the only green-marker authority, and route intelligence remains readiness-only with no Google Routes/Geocoding server calls.

• No production GPS/ELD/telematics provider APIs, payment collection changes, broker distribution limit changes, owned portal rule changes, internal load-board access changes, Transportation Accounting activation, or Prisma schema changes were made.

v482 — Fleet Map alerts, performance, and production readiness

• Reviewed v481.2 Fleet Map fallback-position excess-property build fix.

• Added Fleet Map operational alert readouts for source, route, ETA, stopped-time, stale-marker, and driver check-in conditions.

• Added Fleet Map performance readiness readouts for marker render budget, route overlay budget, payload weight, and refresh cadence.

• Added Fleet Map production-readiness review readouts for future provider/Google rollout planning while keeping production API calls disabled.

• Added Fleet alerts, Map performance, and Production readiness filters, summary cards, dashboard panels, selected-truck sections, and search coverage.

• Added `.env.example` flags for review-only alert/performance/production-readiness behavior.

• No production GPS/ELD/telematics provider APIs, Google Geocoding API calls, Google Routes API calls, payment collection changes, broker distribution limit changes, owned portal rule changes, internal load-board access changes, Transportation Accounting activation, or Prisma schema changes were made.

v484 — Provider-neutral ELD/telematics connector contract

• Reviewed v483 Controlled driver-app live GPS activation.

• Added a v484 provider-neutral connector contract readout for GPS/ELD/telematics provider evidence.

• Added provider family, external vehicle/device ID, truck/load/driver mapping, provider signal, live API disabled, and failure-state rules.

• Added provider contract-ready, mapping-required, and failure-state summary counts.

• Expanded the Provider sandbox dashboard, selected-truck provider panel, search coverage, and provider audit payload context.

• Added .env.example contract flags while keeping live provider APIs, marker mutation, Google Geocoding, and Google Routes disabled.

• No payment collection, broker distribution limit, owned portal, internal load-board, Transportation Accounting, or Prisma schema change was made.

v486.2 — Fleet Map provider reconciliation route-intelligence build fix

• Fixed the live-overlay route-intelligence builder input so it receives providerBackedReconciliation.

• Preserved the v486.1 typed provider-telematics contract-version guard.

• Removed generated tsconfig.tsbuildinfo from the source package.

• Kept production provider APIs, Google Geocoding/Routes, billing gates, broker distribution limits, owned portal rules, internal load-board access, and Transportation Accounting inactive.

v486.3 — Fleet Map provider reconciliation performance-readout build fix

• Fixed the v486.2 production build error in `src/modules/fleet-map/fleet-map.service.ts` where the live-overlay Fleet Map path built performance and production-readiness readouts without passing `providerBackedReconciliation`.

• Added `providerBackedReconciliation` to the live-overlay performance-readout input, production-readiness input, and returned Fleet Map position object.

• Preserved the v486 provider-backed reconciliation behavior and the v486.1/v486.2 TypeScript contract fixes.

• Kept production GPS/ELD/telematics provider APIs, Google Geocoding/Routes calls, billing gates, broker distribution limits, owned portal rules, internal load-board access, and Transportation Accounting inactive.

• No Prisma schema change.

v487 — Fleet Map Google geocoding and route geometry readiness

• Reviewed v486.3 provider reconciliation performance-readout build fix.

• Added v487 Google Geocoding and Routes readiness labels without making Google server API calls.

• Added pickup/delivery address normalization labels, pickup geocode readiness, delivery geocode readiness, route geometry readiness, route geometry cache key, cache TTL, API guardrail, and cost-control copy to Fleet Map route intelligence.

• Expanded the selected-truck Route intelligence section and Route intelligence dashboard cards so dispatchers can review route geometry/cache readiness before future Google API activation.

• Updated the Google API plan so Routes API and Geocoding API are ready-for-key/review items while server calls remain disabled.

• Added `.env.example` readiness/cache/budget flags for the future Google route geometry workflow.

• Kept production GPS/ELD/telematics provider APIs, Google Geocoding/Routes calls, billing gates, broker distribution limits, owned portal rules, internal load-board access, and Transportation Accounting inactive.

• No Prisma schema change.

v488 — Fleet Map traffic-aware ETA and route deviation upgrade

• Added internal traffic-aware ETA model labels without making Google Routes API calls.

• Added modeled traffic buffer, traffic delay risk, and traffic-adjusted ETA labels.

• Added route-deviation accuracy/confidence labels and alternate-route comparison readiness.

• Expanded selected-truck Route intelligence and Route intelligence dashboard details.

• Preserved driver-app GPS green-marker authority, provider review-only behavior, and disabled Google/provider production APIs.

• No Prisma schema change.